 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
December 12th, 2012, 04:48 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2012
Posts: 68
| How to get rid of medium img but keep linked medium
Hi,
I would like to get rid of the medium image link, but keep both the linked thumb and the linked medium. Not all pictures have it and it seems to be related to size.
Is that possible to remove it?
We would like our users to use the linked medium on the forum so we get a clickable link to the gallery, but they keep using the medium image instead.
Thanks.
Last edited by SunnyQ; December 12th, 2012 at 09:14 AM.
|
| |
December 12th, 2012, 08:30 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
If u do not want medium size image then there is no way to have a medium link. Make sense here.
There is the main image and a thumbnail both follow the size thresholds you set. You can also set a medium threshold if you want but is optional.
The medium link only shows if there is a medium image.
|
| |
December 12th, 2012, 09:23 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2012
Posts: 68
|
Thanks for explanation. It's still not quite clear to me and I think I may not have explained properly.
This image has two code options - linked thumb and linked image. This is how I'd like it on all the pictures. There is no code that is not linked available there.
gallery.backyardpoultry.com/showphoto.php?photo=69172&title=american-game&cat=741
This image below has three code options. Posters in the forum always pick the bottom one which is not linked.
gallery.backyardpoultry.com/showphoto.php?photo=69139&title=chicks&cat=500
Is there any way that I can make all of the photos show the two links as per the first photo above.
Thanks.
|
| |
December 12th, 2012, 11:31 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
If you do not want a medium image then you could set your medium threshold to 0 in upload options in admin.
The point I am making as I have said is if there is a medium image the software is and will show a link medium ubbcode.
|
| |
December 12th, 2012, 04:01 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Nov 2012
Posts: 68
|
Yes, thanks Chuck. I understand that. The problem I had when turning off the medium image option is that in some cases all I had was the thumbnail. I didn't get the normal linked image as well. Now that I have upgraded to 2.23 I could try that again. Thanks for the tip above. I will try that also.
|
| |
December 12th, 2012, 04:42 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
Not a problem usually if there is a medium then a medium link shows otherwise a full link shows.
|
| |
December 13th, 2012, 03:21 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Nov 2012
Posts: 68
|
No. I can't get around it. Setting it to zero made no difference. I changed it back again.
I still have three codes on this page, the last one not being linked at all.
I can't find a way to get rid of the last 'medium image'.
If there's no medium image it doesn't have an unlinked ubb code there. This is an example:
*link removed*
There is only two codes and both of them are linked. This is what I'd like on all photos.
Last edited by SunnyQ; December 14th, 2012 at 08:45 PM.
|
| |
December 13th, 2012, 08:10 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
well there are other links html and direct links and you can not get rid of that line without maybe editing your showphoto template and removing this line Code: Content visible to verified customers only.
|
| |
December 13th, 2012, 02:05 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2012
Posts: 68
|
Thanks Chuck. I will try that.
|
| |
December 13th, 2012, 02:15 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
Not a problem glad to help
|
| |
December 14th, 2012, 08:59 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Nov 2012
Posts: 68
|
I tried but it didn't appear to make any difference at all. The image link was still there. I took this out of showphoto.tmpl in the templates folder.
<b>{$Globals['pp_lang']['medimage']}:</b> <input class="{$Style['blockquote']}" type="text" name="bbcode" value="$showbbcode" size="80" onclick="this.focus();this.select()" /><br />
Was that the right thing to do? There were some slight differences from the code that you gave. Should I be removing it from somewhere else? I notice that when I compare the same file with a previous version it matches your code.
Last edited by SunnyQ; December 14th, 2012 at 09:39 PM.
|
| |
December 14th, 2012, 09:03 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
the template would be in the templates/forumstyle folder.
|
| |
December 15th, 2012, 06:02 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Nov 2012
Posts: 68
|
Wonderful. It worked.
|
| |
December 15th, 2012, 06:59 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,680
|
Yep just needed to edit the right template. If you would have used the edit templates function in admin that would have edited the right template
|
| | |
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 10:55 AM. | |