 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
September 27th, 2004, 09:36 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2002 Location: Northern California
Posts: 383
| 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
|
| |
September 28th, 2004, 12:43 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
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
|
| |
September 28th, 2004, 08:32 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2002 Location: Northern California
Posts: 383
| Quote: |
Originally Posted by omegatron 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 | I would appreciate it!
Regards,
Matt
|
| |
January 2nd, 2005, 09:45 PM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2002
Posts: 11
|
Any word on this?? I'd sure like to rid my site of the medium images.
|
| |
January 3rd, 2005, 10:22 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
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
|
| |
January 4th, 2005, 02:15 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jun 2002 Location: Northern California
Posts: 383
|
Hi Chuck,
Do you mean no NEW mediums will be generated but the existing mediums and links to them will remain?
Regards,
Matt
|
| |
January 4th, 2005, 10:27 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
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'
|
| |
January 5th, 2005, 05:09 PM
|
#8 (permalink)
| | Registered User
Join Date: Apr 2002 Location: Colorado
Posts: 52
| Quote: |
Originally Posted by omegatron I mean if you set medium to 0 no mediums will be created for new images correct but as always existing mediums will show
| In addition you would aslo have to set "Save and display medium and large images?=no" Correct?
|
| |
January 5th, 2005, 05:16 PM
|
#9 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
No - that option is just for saving thumbnails and no medium or large images.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
January 5th, 2005, 05:23 PM
|
#10 (permalink)
| | Registered User
Join Date: Apr 2002 Location: Colorado
Posts: 52
| Quote: |
Originally Posted by Michael P No - that option is just for saving thumbnails and no medium or large images. | OK, thanks, I kind of thought that but wasn't sure, I like not having the extra image stored plus it gives the gallery a cleaner look.
|
| |
March 8th, 2005, 09:39 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Santa Fe, NM
Posts: 39
| 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!!
|
| |
March 9th, 2005, 06:56 AM
|
#12 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
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.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
March 9th, 2005, 10:29 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Santa Fe, NM
Posts: 39
|
Thanks - that did it!
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:12 PM. | |