About disabling intermediate pics About disabling intermediate pics
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

About disabling intermediate pics

Started by skyone, March 18, 2014, 12:26:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skyone

My web host has a  file number limit so I thought disabling intermediate pics will help
My question is, if I do that and I set a maximum file size so the pictures can display within the same page (embedded) rather than a popup, for the other 100's of pics that I already uploaded to my gallery and that are much larger than the maximum dimensions that I would like to set up.. is Coppermine gonna resize all those hundreds of pics automatically at once? I'm worrying if this task will take too much on the CPU.




gmc

Possibly a simpler solution....
Assuming you have had cpg create intermediate images all along at the size you want - continue to do so.
Use admin tools to 'delete original size photos'
this will delete the full size, and rename the normal_ file to original name.

Going forward, continue to have cpg create intermediates (to handle the resize) and periodically use admin tools to cleanup (only needed on albums you have added photos to...)

or of course use a webhost that allows more files..  :)
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

skyone

Quote from: gmc on March 19, 2014, 04:37:02 AM
Possibly a simpler solution....
Assuming you have had cpg create intermediate images all along at the size you want - continue to do so.
Use admin tools to 'delete original size photos'
this will delete the full size, and rename the normal_ file to original name.



ok but the problem is that  the size I had was just 400 px on the intermediates and I would like now the pics to be about 800px and embed them onto the same page as if it was the intermediate but larger. If I delete the original pics then I'll end up with smaller pics sized with my original intermediate pics (400 px)  :-\

Αndré

In this case, if your desired size is 800px and your full-sized pictures are bigger than that value, you need to re-size all pictures. I'll perform some tests how to do this the best way if you attach a screenshot of your current settings of the "File settings" section (actually I just need the first 7 rows, compare to my attached screenshot).

skyone


Αndré

This worked for me as expected:

  • Disable "Create intermediate pictures"
  • Set "Max width or height for uploaded pictures" to "800"
  • Set "Auto resize images that are larger than max width or height" to "Yes: Everyone"
  • Save new configuration
  • Use "Admin tools -> Update thumbs and/or resized photos -> Both resized and full sized (if an original copy is available)" on the desired or all albums

Make a backup before you start if anything goes wrong.

skyone


allvip

You will proabibly need this too:

Images to fit screen resolution and show full size on click (no pop up. will show on place):

I use only the full size pics (original image).I deleted the intermediate pics.

http://forum.coppermine-gallery.net/index.php/topic,76542.msg369162.html#msg369162

demo: http://allvip.us/gallery/displayimage.php?album=508&pid=20299#top_display_media

skyone


allvip

You're welcome.

The image will resize to fit the monitor.If users view your gallery from a table or iphone the image will resize and will show full size on click.
This way you can upload very big images and in config set the width to original image to max value.This way coppermine won't crop your images if they are bigger then 800px width when you upload them.