Search found 60 matches

by canonknipser
Tue Aug 28, 2012 4:49 am
Forum: [3.x] Discussion
Topic: Integrating automatic image resizing
Replies: 61
Views: 29643

Re: Integrating automatic image resizing

At the moment, there is only a limit for the dimensions in ACP, not for the file size. It defaults to 0*0, which means no checking, and i think that most board owner will leave it this way. But even if you change it to a value like 100*100, it simply can be "tricked", because it is only checked when...
by canonknipser
Mon Aug 27, 2012 7:44 pm
Forum: [3.x] Discussion
Topic: Integrating automatic image resizing
Replies: 61
Views: 29643

Re: Integrating automatic image resizing

If you're viewing the post the image would already be resized - correct? So you wouldn't have to worry about your data cap. Only if resizing is done on phpBB side, could be reading the image from the "foreign site" (50MB 5000*4000px), resizing [this can be done with gd or imagemagick] to maximum al...
by canonknipser
Mon Aug 27, 2012 5:22 pm
Forum: [3.x] Discussion
Topic: Integrating automatic image resizing
Replies: 61
Views: 29643

Re: Integrating automatic image resizing

... if an image is currently too wide, the right bit is hidden. I think its depending on the style. It must be defined in the css (overflow:hidden or similar), other style may use no clipping. It's possible to make JS resize it so that all of it is displayed, and if someone clicks on it then it goe...
by canonknipser
Mon Aug 27, 2012 11:06 am
Forum: [3.x] Discussion
Topic: Integrating automatic image resizing
Replies: 61
Views: 29643

Re: Integrating automatic image resizing

Is the request about [img]-Images or attachment-images? For attachments, there is already a resizing for the optionally generated thumbnails, so maybe this code can be used during upload-process. For [img], any kind of resizing can only be done in the browser (eg. by width/height - Parameter for the...
by canonknipser
Sat Dec 24, 2011 8:12 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Attachments in subfolders
Replies: 23
Views: 23265

Re: [RFC] Attachments in subfolders

The problem with this is on boards that have thousands of attachments the attachment id may very well have been expanded to a full 32-bit field. So, those boards are modded, and the subfolder-attachment function has also the need be modded like in other cases board owners decide to change default d...
by canonknipser
Sat Dec 24, 2011 7:09 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Attachments in subfolders
Replies: 23
Views: 23265

Re: [RFC] Attachments in subfolders

This has the advantage that given a filename hash, it is easily possible to figure out the path to the filename without prior knowledge of how many levels of subdirectories exist. Oleg, thank you for your suggestion. Following your syntax, we will have a flood of new folders on the first attachment...
by canonknipser
Sat Dec 24, 2011 8:10 am
Forum: [3.x][Archive] RFCs
Topic: [RFC] Attachments in subfolders
Replies: 23
Views: 23265

Re: [RFC] Attachments in subfolders

I would guess this is just a problem because you are using ancient technology (i.e. probably FTP) for creating backups. For example rsync would just work fine and wouldn't care about it at all. I think its a problem for nearly all "normal" website owners residing on shared hosting: They normally do...
by canonknipser
Fri Dec 23, 2011 5:17 pm
Forum: [3.0/Olympus] Discussion
Topic: Stop cutting off images when "too" wide...
Replies: 9
Views: 8403

Re: Stop cutting off images when "too" wide...

Personally, i dislike large images in post at all for different reasons. But in my opinion resizing is much better than having a scrollbar It should have no effect on browser performance, because in both cases the browser has to load the image complete. Having full-size images, it will break the des...
by canonknipser
Thu Dec 22, 2011 10:23 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Usability: Always allow user to respond to PM
Replies: 30
Views: 13511

Re: [RFC] Usability: Always allow user to respond to PM

Unknown Bliss wrote:The they can use the edit PM button?
This only works until the recipient has read the PM.
by canonknipser
Tue Dec 20, 2011 9:25 am
Forum: [3.x][Archive] RFCs
Topic: [RFC] Attachments in subfolders
Replies: 23
Views: 23265

Re: [RFC] Attachments in subfolders

but a single mechanism that is always used should be enough. Which one would you prefer? My personal opinion: the folder should have a limited "lifetime", so after a defined point (date or number of files) no more files go in that folder. It makes it easier to have complete backups of a folder. so,...