Disable High Res view of images

2,223 views
Skip to first unread message

V

unread,
Aug 15, 2012, 2:03:02 PM8/15/12
to tumblr...@googlegroups.com
I would like to disable the high res view of images. I've tried setting the click through link to the tumblr index but this interferes with the index itself making it so that sometimes the images lead to their posts when clicked on but other times just refresh the page. Any thoughts on how to turn off the high-res view so clicking on a photo in the post view leads back to the index page?


Thank you!

Sean Zhu

unread,
Aug 17, 2012, 1:43:49 PM8/17/12
to tumblr...@googlegroups.com, victori...@gmail.com
You cannot disable the high-res image page that appears at /image/29430360799. Anyone who really wants to view your highres images can go to /archive, click a post, and change /post/XXXXX in the URL to /image/XXXXX. The only way to securely prevent people view highres images is to, well, not upload highres images. You should be able to replace your current highres images with lowres ones by editing your current posts.

If you just don't want to link to these highres image pages (which would still exist), remove {LinkOpenTag} and {LinkCloseTag} in your theme. You can simply remove them or you can replace them with <a href="link of your choice"> and </a>, respectively.

Also, because /image/XXXXX is the fallback URL for {LinkOpenTag}, if you set a click-through link in your photo posts, {LinkOpenTag} will point to the link you set instead of /image/XXXXX.

victori...@gmail.com

unread,
Aug 22, 2012, 8:29:52 AM8/22/12
to tumblr...@googlegroups.com
Thank you so much. I replaced the Link Tags with the url of the index page and it has stopped the high res image from appearing on click, however, when you click on the previews of the posts in the index page they still sometimes just link back to the index page instead of going to the post. Is there any way to insure that the image previews in the index page link to the posts and not back to the link that I replaced the Link Tags with?

Sean Zhu

unread,
Aug 25, 2012, 5:53:00 PM8/25/12
to tumblr...@googlegroups.com, victori...@gmail.com
Found the culprit! I don't have access to your theme code, but I think it looks something like this:

<div class="photo">
<div class="photo_info">
<h2><a href="{Permalink}">THAT WEIRD NOTE COUNT THING</a></h2>
</div>
THE ACTUAL IMAGE
</a>
</div>

There are two links (two <a> tags), which explains why you sometimes go one place and sometimes go somewhere else.

You don't want .photo_info (the stuff in red), so go delete that from your theme.

You do want the link that's around the actual image. However, the link points to the wrong place. You want it to link to the permalink, not the index page. So go ahead and change the part in orange to {Permalink}.

That's it!
Message has been deleted

Felix Bonkoski

unread,
Mar 9, 2013, 5:06:07 AM3/9/13
to Sunjo, tumblr...@googlegroups.com
Easy solution:

If you don't want people to access hi-res versions of your photos, then don't upload hi-res photos. Resize them to 500px wide before you upload.


On Fri, Mar 8, 2013 at 8:34 PM, Sunjo <sun...@gmail.com> wrote:
Hey guys - I was wondering about the same (sort of) .. I don't mind people eventually getting to the highres link but how do I change the link of the photo for example to go to /post/XXXXXX and not /image/XXXXX ?  Since I prefer people go to the posts page first before they click the picture again to get to the highres !
--
You received this message because you are subscribed to the Google Groups "Tumblr Themes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tumblr-theme...@googlegroups.com.

To post to this group, send email to tumblr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Felix Bonkoski
Reply all
Reply to author
Forward
0 new messages