OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Covers showing up in List but not in Gallery View (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

Covers showing up in List but not in Gallery View

hetclub (Visitor)
Posts: 0
graphgraph
User Offline
Re:Covers showing up in List but not in Gallery View 12 Years, 1 Month ago
Karma: 0  
I created an image that was exactly 160x124 and they still dont show up. I have included what I am seeing in Firefox.

Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Covers showing up in List but not in Gallery View 12 Years, 1 Month ago
Karma: 102  
Hello,

Look like some thing (some style) move up yours images.
Please set default Joomla template and check.

Please install fireBug extension for firefox - With it help you will can check how correct CSS for yours web page

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
hetclub (Visitor)
Posts: 0
graphgraph
User Offline
Re:Covers showing up in List but not in Gallery View 12 Years, 1 Month ago
Karma: 0  
I have Firebug loaded. I found the line and it says "Failed to load the given URL"

Here is the path it gives me in the code:
<a href="www.hetclub.org/index.php?option=com_boo...Itemid=618">
<img width="124 " height="160" border="0" src="//components/com_booklibrary/covers//20110102.jpg">

I did validate that the image is exactly 124x160.

I already tested the page in a default Joomla template and it did the same thing.

Here is one of the images.
Logged Logged
The administrator has disabled public write access.
hetclub (Visitor)
Posts: 0
graphgraph
User Offline
Re:Covers showing up in List but not in Gallery View 12 Years, 1 Month ago
Karma: 0  
I have figured out that if I insert my domain into the code, the cover shows up. Is there somewhere where I need to add my domain? or is this a error?



<a href="www.hetclub.org/index.php?option=com_boo...Itemid=618">
<img width="124 " height="160" border="0" src="//hetclub.org/components/com_booklibrary/covers//20120102.jpg">
Logged Logged
Last Edit: 2012/10/28 01:01 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Covers showing up in List but not in Gallery View 12 Years, 1 Month ago
Karma: 102  
Hello,

I am sorry, from yours all before posts, all look like you have move up images !!!! Move up images and URL to images - that full different things.

URL - only need - will that image show or not, It not depend where that image will. For correct image possition - you need check CSS.

for image URL - true say for you all must work good, but you may go to file:
{yours site}/components/com_booklibrary/booklibrary.php

find function: displayBooks

and in it code:
Code:


          if($imageURL != '' && substr($imageURL,0,4) != "http")
          {
            $imageURL = $mosConfig_live_site . ''. $book->imageURL;;
          }

          if($imageURL != ''){
            echo '<img src="'.$imageURL.'" alt="cover" border="0" height="50" ' ;
          } 


and replace that to:

Code:

          if($imageURL != '' && substr($imageURL,0,4) != "http")
          {
            $imageURL =  'http://hetclub.org'. $book->imageURL;;
          }

          if($imageURL != ''){
            echo '<img src="'.$imageURL.'" alt="cover" border="0" height="50" ' ;
          } 



Thanks,
Ordasoft team
Logged Logged
The administrator has disabled public write access.
hetclub (Visitor)
Posts: 0
graphgraph
User Offline
Re:Covers showing up in List but not in Gallery View 12 Years, 1 Month ago
Karma: 0  
Ok, that fixed it. I had to replace all of the instances in booklibrary.html.php with my domain. But it doesn't explain why the gallery doesnt work without inserting my domain.
Logged Logged
The administrator has disabled public write access.
Go to top
»