Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Thumbnails in the gallery have icons and frame in IE browser and Chrome, Opera

  • jokrasa
  • jokrasa's Avatar Topic Author
  • Offline
  • New Member
More
11 years 3 months ago - 11 years 3 months ago #53390 by jokrasa
HI everyone

Please help me.

Just a few days I sit at the problem.

Thumbnails in the gallery have icons hidden images and redundant frame.

I know that this may be a conflict of my template css styles.
I would prefer not to change my style css file. I think that something effective would you advised.
  The icons and frames on the thumbnails appear only in browsers: Chrome and IE 8 and Opera. Firefox nicely all shows.

How to deal with it? Any tips?
Attachments:

Please Log in or Create an account to join the conversation.

  • jokrasa
  • jokrasa's Avatar Topic Author
  • Offline
  • New Member
More
11 years 3 months ago #53391 by jokrasa
I managed to solve the problem.
It may be useful to someone.
In the file of template (in my case = sleek) default.php should replace syntax that causes the mask thumbnail, which is a file transparent.gif

Replace the syntax of PHP and give direct location of the file on our server transparent.gif

oryginal syntax
<img class="sigProImg" src="<?php echo $transparent; ?>" alt="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$photo->filename; ?>" title="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$photo->filename; ?>" style="width:<?php echo $photo->width; ?>px;height:<?php echo $photo->height; ?>px;background-image:url(<?php echo $photo->thumbImageFilePath; ?>);" />
changed syntax
<img class="sigProImg" src="/plugins/content/jw_sigpro/jw_sigpro/includes/images/transparent.gif"  title="<?php echo JText::_('JW_SIGP_LABELS_08') ?>" style="width:<?php echo $photo->width; ?>px;height:<?php echo $photo->height; ?>px;background-image:url(<?php echo $photo->thumbImageFilePath; ?>);" />

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum