Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download Elxis CMS: Elxis 4.0 Nautilus
 
Pages: [1] 2
  Print  
Author Topic: mod_frontpage thumbnail generation  (Read 3535 times)
Amigamerlin
Full Member
***
Offline Offline

Posts: 238



« on: April 23, 2011, 18:46:14 »

Hello you all.
Can someone explain me how to use the thumbnail generation feature inside the mod_frontpage, since I'm able to get the thumbnail randomly ?
Can someone explain the rules ?
I searched the forum and I don't have found any solution.
I cleared the cache and the temp files on site too but always I can't have all the thumbnail.

I hope someone can help me.
Thank you you all.

PS. Happy easter !!!

Logged
wbread
Sr. Member
****
Offline Offline

Posts: 267



WWW
« Reply #1 on: April 23, 2011, 21:16:09 »

I like it handled a similar question but no one answered

you have the same result?

Logged
Amigamerlin
Full Member
***
Offline Offline

Posts: 238



« Reply #2 on: April 23, 2011, 21:54:29 »

I like it handled a similar question but no one answered

you have the same result?



yes exactly...
Logged
wbread
Sr. Member
****
Offline Offline

Posts: 267



WWW
« Reply #3 on: April 23, 2011, 22:53:50 »

I tried different options but to no avail, the first and third post constructed in exactly the same, but the result can be seen.

I think that if the script can not create a preview of it simply loads a picture from the category description (section)
Logged
Amigamerlin
Full Member
***
Offline Offline

Posts: 238



« Reply #4 on: April 24, 2011, 08:08:47 »

I tried different options but to no avail, the first and third post constructed in exactly the same, but the result can be seen.

I think that if the script can not create a preview of it simply loads a picture from the category description (section)

yes ... it will try to build the thumbnail and if no success the images story will be loaded. But the question is why it can't create the thumbnail? I used the same image of a different article where the thumbnail was successfully created but no success.

Maybe is someting related to the image name ... I really don't know. This was the reason of my original post.

Thank you.
Logged
Amigamerlin
Full Member
***
Offline Offline

Posts: 238



« Reply #5 on: April 25, 2011, 08:44:33 »

Please Datahell, I know you are really busy, but please can you try to help me about this problem ? .
Thank you in advance.
Logged
Amigamerlin
Full Member
***
Offline Offline

Posts: 238



« Reply #6 on: April 26, 2011, 09:25:24 »

Please no one can help ?
Logged
wbread
Sr. Member
****
Offline Offline

Posts: 267



WWW
« Reply #7 on: April 26, 2011, 10:26:23 »

Datahell  really busy, when he would be free, I think he would write
maybe the new version will fix this bug
Logged
webgift
Elxis Team
Hero Member
*****
Offline Offline

Posts: 3293



WWW
« Reply #8 on: April 26, 2011, 11:19:24 »

Module Frontpage and Module eblog Frontpage uses the below process regarding the thumbnail generation :
1. Search the html code of each article if there is any "<img" code.
2. if yes then looking for src="" of each image [Image URL]
3. Displays the image.

Html source code of image :
Code:
<img src="http://www.mydomain.com/images/image1.jpg " title="Image Title" alt="Image Description" />

In case that there are more than one images then displays the last one.
!Important : At the Image URL preferred to write such as : http://www.mydomain.com/images/image1.jpg
 
Logged

Amigamerlin
Full Member
***
Offline Offline

Posts: 238



« Reply #9 on: April 26, 2011, 12:48:35 »

Module Frontpage and Module eblog Frontpage uses the below process regarding the thumbnail generation :
1. Search the html code of each article if there is any "<img" code.
2. if yes then looking for src="" of each image [Image URL]
3. Displays the image.

Html source code of image :
Code:
<img src="http://www.mydomain.com/images/image1.jpg " title="Image Title" alt="Image Description" />

In case that there are more than one images then displays the last one.
!Important : At the Image URL preferred to write such as : http://www.mydomain.com/images/image1.jpg
 

Thank you Webgift for your answers !!! Maybe I've found the problem ... I'll confirm if this. What I can say right now that the problem is folder name related. If the folder that contain the image have space inside the name example "San Pietro Apostolo" the thumbnail is not generated ... otherwise if the images is contained in a folder that don't have space inside the name (example: San_Pietro_Apostolo) the thumbnail is generated.
Please wbread  can you canfirm this too ?.

If this scenario is confirmed  can this problem  be considered a bug ?  Cheesy..

Thank you you all.
 
Logged
webgift
Elxis Team
Hero Member
*****
Offline Offline

Posts: 3293



WWW
« Reply #10 on: April 26, 2011, 12:57:18 »

Yes. that's the issue.
Spaces between the folder or file names not recommended.  Wink
« Last Edit: April 26, 2011, 13:19:18 by webgift » Logged

wbread
Sr. Member
****
Offline Offline

Posts: 267



WWW
« Reply #11 on: April 26, 2011, 13:35:07 »

Yes, if the file name contains spaces then displays the total picture category (section)
the same result with relative paths

Maintain aspect ratio: does not always work, or rather saw his work only 1 times
if you set only the width then the height will default to 64

bug only in Maintain aspect ratio

Quote
In case that there are more than one images then displays the last one.

tried it with two pictures, a preview of the same first image
interchanging the images obtained the same result, displays the first of two

solution

1. to properly display the main page should pick up a picture of identical proportions
2.in the introductory text to insert container code, it miniatures for the front page
Code:
<div style="display: none;">
<img title="Yumekui Merry" src="http://domein.com/images/covers/cover_for_frontpage.jpg" alt="frontpage" /> </div>
style="display: none;" it does not appear anywhere except the front page

other options I do not see
Logged
webgift
Elxis Team
Hero Member
*****
Offline Offline

Posts: 3293



WWW
« Reply #12 on: April 26, 2011, 13:57:30 »

wbread, I don't understand you regarding the ratio of thumbnails. The parameters are : Show thumbnail , width , height and keep ratio. All of these parameters must be set. If no then takes the default parameters. It's simple.
These modules displays images from 1. content items , 2. autonomous pages and 3. eblog posts and not from categories ( sections ).
Logged

wbread
Sr. Member
****
Offline Offline

Posts: 267



WWW
« Reply #13 on: April 26, 2011, 14:19:22 »

If this option is enabled display thumbnails, but in the text there is no image then used a picture from the description of the category or section.

as shown in the picture in my post - I have 3 articles, 2 of them have pictures to describe, in the third not.
All options were included, the height, width, proportioning.
immediately noticeable that the proportions of the third article are not complied
Logged
webgift
Elxis Team
Hero Member
*****
Offline Offline

Posts: 3293



WWW
« Reply #14 on: April 26, 2011, 14:32:41 »

If this option is enabled display thumbnails, but in the text there is no image then used a picture from the description of the category or section.
Then displays story.png image which is under /images/M_images/ folder.

Logged

Pages: [1] 2
  Print  
 
Jump to: