Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'm stuck trying to modify my Tumblr Design. I want to make an image bigger on the PermalinkPage and so I tried this:

{block:IndexPage}
{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoUrl-500}" width="250"></a></a>{LinkCloseTag}
{/block:IndexPage}

{block:PermalinkPage}
{LinkOpenTag}<a href="{PhotoURL-HighRes}"><img src="{PhotoUrl-500}" width="500"></a></a>{LinkCloseTag}
{/block:PermalinkPage}

The image on the IndexPage appears only once with a width of 250, but on the PermalingPage the image appears two times. One time with a width of 250 and another with a width of 500. It seems like Tumblr thinks that a PermalinkPage is an IndexPage as well. How do I fix this? Is there any if-else opportunity or so?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.