PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   How to get rid of medium img but keep linked medium (http://www.photopost.com/forum/photopost-pro-how-do-i/149027-how-get-rid-medium-img-but-keep-linked-medium.html)

SunnyQ December 12th, 2012 04:48 AM

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.

Chuck S December 12th, 2012 08:30 AM

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.

SunnyQ December 12th, 2012 09:23 AM

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.

Chuck S December 12th, 2012 11:31 AM

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.

SunnyQ December 12th, 2012 04:01 PM

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.

Chuck S December 12th, 2012 04:42 PM

Not a problem usually if there is a medium then a medium link shows otherwise a full link shows.

SunnyQ December 13th, 2012 03:21 AM

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.

Chuck S December 13th, 2012 08:10 AM

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.

SunnyQ December 13th, 2012 02:05 PM

Thanks Chuck. I will try that.

Chuck S December 13th, 2012 02:15 PM

Not a problem glad to help

SunnyQ December 14th, 2012 08:59 PM

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.

Chuck S December 14th, 2012 09:03 PM

the template would be in the templates/forumstyle folder.

SunnyQ December 15th, 2012 06:02 PM

Wonderful. It worked.

Chuck S December 15th, 2012 06:59 PM

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


All times are GMT -5. The time now is 09:48 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97