![]() |
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. |
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. |
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. |
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. |
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. |
Not a problem usually if there is a medium then a medium link shows otherwise a full link shows. |
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. |
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. |
Thanks Chuck. I will try that. |
Not a problem glad to help |
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. |
the template would be in the templates/forumstyle folder. |
Wonderful. It worked. |
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