Announcement

  •  » Themes
  •  » Stripped comments page issue

#1 2012-07-18 13:17:50

tom_rosenback
Guest

Stripped comments page issue

Hi Zaphod,

Please change in the coming version(s) of the Superb theme of yours in the comment_list.tpl the following

Code:

{if isset($comment.TN_SRC)}
  <div class="illustration">
    <a href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a>
  </div>
{/if}

to

Code:

{if isset($comment.src_image)}
  <div class="illustration">
    <a href="{$comment.U_PICTURE}">
      <img src="{$pwg->derivative_url($derivative_params, $comment.src_image)}" alt="{$comment.ALT}">
    </a>
  </div>
{/if}

So that the images with links will start to show on the comments page again. Thanks!

regards,
Tom

 

#2 2012-07-18 13:21:24

flop25
Piwigo Team
2006-07-06
7037

Re: Stripped comments page issue

Hello
if you were registered you could have notified Zaphod ; I notify him

also you should use [*code*]...[*/code*] without *
tag :)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2012-07-18 18:59:36

Zaphod
Former Piwigo Team
2006-11-13
441

Re: Stripped comments page issue

Thanks for reporting the problem.
And thanks very much for the solution!

Offline

 

#4 2012-07-18 21:27:09

Zaphod
Former Piwigo Team
2006-11-13
441

Re: Stripped comments page issue

I just published version 2.2.4 that should fix the problem.

Offline

 
  •  » Themes
  •  » Stripped comments page issue

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact