|
|
|
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?
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
|
|
|
|
|
|
|
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 ) );
|
|
|
|
|
|
|
|
|
|
|
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;
...
|

|
|
|
|
|
|
|
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
|
|
|
|
|
|
|
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...
|
|
|
|
|
|
|
|
|
|
|
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?
|
|
|
|
|
|
|
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
|
|
|
|
|