thumbnail not showing

  • MICHAEL LOMBARDO
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

thumbnail not showing was created by MICHAEL LOMBARDO

I am having a problem with getting thumbnails from a particular domain to show up properly. I have tested thumbnails from other sites and they show up fine. I have also tested using the thumbnails from this domain in a competitor of yours and it shows up fine in their program, so I am at a total loss as to how to fix this.

ci.phncdn.com/videos/201010/27/267/origi...PJy4vlF9ZUl1_)10.jpg   <-- this is a link to one of the thumbnails.  The videos themselves show up just fine, only the thumbnails are a problem.
3 weeks 5 days ago #9713

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

  • Posts: 2313
  • Thank you received: 1420

Replied by Administrator on topic thumbnail not showing

Our extension adds the  thumbnail images as background-images. Your image URLs contains the parentheses that creates the problem here.

Solution:

1. Open the following files,
{SITE_ROOT}/components./com_allvideoshare/views/videos/tmpl/default.php
{SITE_ROOT}/components./com_allvideoshare/views/search/tmpl/default.php
{SITE_ROOT}/components./com_allvideoshare/views/video/tmpl/default_related.php
{SITE_ROOT}/modules./mod_allvideosharegallery/tmpl/default_videos.php

2. Find the line,
<div class="avs-image" style="background-image: url(<?php echo $image; ?>);"> </div>

3. Replace it as,
<div class="avs-image" style="background-image: url('<?php echo $image; ?>');"> </div>

Note: There is an additional quotation mark in the above line that brings the difference.

4. Save the changes and check now.  Hope ths solved your issue!

Our next version will include this fix in the core itself.
The following user(s) said Thank You: MICHAEL LOMBARDO
Last edit: 3 weeks 5 days ago by Administrator.
3 weeks 5 days ago #9714

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

  • MICHAEL LOMBARDO
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by MICHAEL LOMBARDO on topic thumbnail not showing

solved!
3 weeks 5 days ago #9715

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

  • MICHAEL LOMBARDO
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by MICHAEL LOMBARDO on topic thumbnail not showing

I think we missed a file. when clicking on the category in the category module the thumbnail does not show on the main page.. all other instances seem to be working propery now
3 weeks 4 days ago #9717

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

  • Posts: 2313
  • Thank you received: 1420

Replied by Administrator on topic thumbnail not showing

Apologies. Please apply the same fix in the following file too,
{SITE_ROOT}/components./com_allvideoshare/views/category/tmpl/default.php
3 weeks 3 days ago #9719

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

Time to create page: 0.145 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies