![]() |
Switching to no medium-size photos I would like to make a change in the way my photopost gallery operates so that I will only have a single size photo. I have been running like this for years: Max allowable image width=800 Max allowable image height=640 Trigger medium height & width=641 Save and display medium and large images?=yes Q1: If I turn off "Save and display medium and large images?" what happens to existing medium size images? Q2: Will I need to rebuild images or manually delete intermediate sizes from the database, or what? Regards Matt |
Try setting medium to 0 and then run a rebuild medium scan. I would have to do further testing to see the ramifications of doing something like this midstream on how it effects or the way to get rid of mediums |
Quote:
Regards, Matt |
Any word on this?? I'd sure like to rid my site of the medium images. |
You can have no medium is you set medium threshold to 0 but your not going to get rid of mediums already built unless you edit the sql in the photos table |
Hi Chuck, Do you mean no NEW mediums will be generated but the existing mediums and links to them will remain? Regards, Matt |
I mean if you set medium to 0 no mediums will be created for new images correct but as always existing mediums will show If your familar with sql you can use phpmyadmin and issue a command to set all mediums to 0 so they do not display UPDATE photos SET medium='0' WHERE medium != '0' |
Quote:
|
No - that option is just for saving thumbnails and no medium or large images. |
Quote:
|
Have the field names changed for 5.0? I have just upgraded to 5.0 and would like to get rid of my medium photos. Has this SQL query changed with the new release? UPDATE photos SET medium='0' WHERE medium != '0' I do not see a "medium" field in the photos table. I see 3 fields: medwidth, medheight, medsize. Second Question: Once I run this query to change the fields for the medium images, do I then go up to the server and delete all images in all medium folders? Thanks!! |
You would need to run: UPDATE photos SET medwidth=0,medsize=0,medheight=0 WHERE medsize > 0; And then you could remove the files withing the medium folders, yes. |
Thanks - that did it! |
| All times are GMT -5. The time now is 07:24 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0