Elxis CMS Forum

Support => Administration => Topic started by: Amigamerlin on April 23, 2011, 19:46:14

Title: mod_frontpage thumbnail generation
Post by: Amigamerlin on April 23, 2011, 19: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 !!!

Title: Re: mod_frontpage thumbnail generation
Post by: wbread on April 23, 2011, 22:16:09
I like it handled a similar question but no one answered

you have the same result?

(http://img191.imageshack.us/img191/4219/acfsgroupruscreencaptur.jpg)
Title: Re: mod_frontpage thumbnail generation
Post by: Amigamerlin on April 23, 2011, 22:54:29
I like it handled a similar question but no one answered

you have the same result?

(http://img191.imageshack.us/img191/4219/acfsgroupruscreencaptur.jpg)

yes exactly...
Title: Re: mod_frontpage thumbnail generation
Post by: wbread on April 23, 2011, 23: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)
Title: Re: mod_frontpage thumbnail generation
Post by: Amigamerlin on April 24, 2011, 09: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.
Title: Re: mod_frontpage thumbnail generation
Post by: Amigamerlin on April 25, 2011, 09: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.
Title: Re: mod_frontpage thumbnail generation
Post by: Amigamerlin on April 26, 2011, 10:25:24
Please no one can help ?
Title: Re: mod_frontpage thumbnail generation
Post by: wbread on April 26, 2011, 11:26:23
Datahell  really busy, when he would be free, I think he would write
maybe the new version will fix this bug
Title: Re: mod_frontpage thumbnail generation
Post by: webgift on April 26, 2011, 12:19:24
Module Frontpage and Module eblog Frontpage (http://www.elxis-downloads.com/downloads/blog/279.html) 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: [Select]
<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
 
Title: Re: mod_frontpage thumbnail generation
Post by: Amigamerlin on April 26, 2011, 13:48:35
Module Frontpage and Module eblog Frontpage (http://www.elxis-downloads.com/downloads/blog/279.html) 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: [Select]
<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 ?  :D..

Thank you you all.
 
Title: Re: mod_frontpage thumbnail generation
Post by: webgift on April 26, 2011, 13:57:18
Yes. that's the issue.
Spaces between the folder or file names not recommended.  ;)
Title: Re: mod_frontpage thumbnail generation
Post by: wbread on April 26, 2011, 14: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: [Select]
<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
Title: Re: mod_frontpage thumbnail generation
Post by: webgift on April 26, 2011, 14: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 ).
Title: Re: mod_frontpage thumbnail generation
Post by: wbread on April 26, 2011, 15: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
Title: Re: mod_frontpage thumbnail generation
Post by: webgift on April 26, 2011, 15: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.

Title: Re: mod_frontpage thumbnail generation
Post by: wbread on April 26, 2011, 15:46:52
yes, but if set in options - show the category description (section) and put there a picture, preview of it is taken from the description, as I have
Title: Re: mod_frontpage thumbnail generation
Post by: webgift on April 26, 2011, 15:59:38
Hm , We are talking for different things.
I talk for module Frontpage which has the parameters below. Not for component frontpage.


[attachment deleted by admin]
Title: Re: mod_frontpage thumbnail generation
Post by: wbread on April 26, 2011, 16:09:49
yes, i used frontpage, frontpageplus and ucd

Last time I wrote about frontpageplus

(http://img841.imageshack.us/img841/4219/acfsgroupruscreencaptur.jpg)
Title: Re: mod_frontpage thumbnail generation
Post by: webgift on April 26, 2011, 16:15:15
Unfortunately i can't mention anything about frontpageplus module.I haven't installed - tested - checked ;).
I can advise you only for Module FrontPage and Module eblog FrontPage :)
Title: Re: mod_frontpage thumbnail generation
Post by: wbread on April 26, 2011, 16:19:55
I did not notice any difference ;D
Title: Re: mod_frontpage thumbnail generation
Post by: webgift on April 26, 2011, 16:22:53
I don't know maybe there are differences at source code.