Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
TemplatePlazza Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
No thumbnails, no way?? How do I get them working (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: No thumbnails, no way?? How do I get them working
#18587
Mattimc (Visitor)
Click here to see the profile of this user
Birthdate:
Re:No thumbnails, no way?? How do I get them worki 8 Months ago  
The default thumbnails? Do you mean editing each thumbnail permission individually?

That's what I've being doing, but it's hardly a solution. It might be a server problem, but it's possible to work around them by chmoding in php: if I knew what lines of code to add, I would. Anyone have any ideas?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#18591
rwin_schro (Moderator)
search 1st - learn - try - still no luck - ask
Moderator
Posts: 2809
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Joomla Tips and Tricks rwin_schro
Re:No thumbnails, no way?? How do I get them worki 8 Months ago Karma: 69  
I don't think this problem caused by the file permission. I think this is caused only by the wrong path of the thumb image(s).

Try to declare this

global $mosConfig_live_site;

at the first line of your showThumb() function on the mod_minifrontpage.php file. (minifp for J1.0.x).

Let me know the result.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
  Reply Quote
#18596
Mattimc (Visitor)
Click here to see the profile of this user
Birthdate:
Re:No thumbnails, no way?? How do I get them worki 8 Months ago  
I'll try that! Where exactly in the code?? ->



function showThumb($row_images,$row_image,$params,$row_itemid,$row_id){

$thumb_embed = intval( $params->get( 'thumb_embed', 0 ) );
$thumb_width = intval( $params->get( 'thumb_width', 32 ) );
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#18602
rwin_schro (Moderator)
search 1st - learn - try - still no luck - ask
Moderator
Posts: 2809
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Joomla Tips and Tricks rwin_schro
Re:No thumbnails, no way?? How do I get them worki 8 Months ago Karma: 69  
Just right below the function name and parameters,

Code:

function showThumb($row_images,$row_image,$params,$row_itemid,$row_id){ global $mosConfig_live_site; ...
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
  Reply Quote
#18610
Mattimc (Visitor)
Click here to see the profile of this user
Birthdate:
Re:No thumbnails, no way?? How do I get them worki 8 Months ago  
No change! (Thanks for the suggestion). It seems to be a permission problem alright; at least, when I chmod the files under Joomla Exporer to 0644, they show up in the modules.

The minifp "_thumb.jpg"s generated are *always* 0600; no other files on my site are.

Is there somewhere in the php code (where the thumbnails are generated) I could add a "chmod ();" line, so every time a thumbnail is generated, it's coded 0644? If I need to change permissions again, I can always just change the values in the code...
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#18614
rwin_schro (Moderator)
search 1st - learn - try - still no luck - ask
Moderator
Posts: 2809
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Joomla Tips and Tricks rwin_schro
Re:No thumbnails, no way?? How do I get them worki 8 Months ago Karma: 69  
ouwh ok then Mattimc...but I can't answer that...maybe someone can help us with that.

Anyone?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
  Reply Quote
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
ico spot
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad