-
AuthorPosts
-
timtecsa Friend
timtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
December 2, 2014 at 2:15 pm #203257site: globalprintmonitor.info
JA Featured News article: THIEME´s answers on the growing demand for printing on technical glass solutions
j2xml imported image: images/j2xml/cc/.thumb_500_281_Storage_cassette_solution_THIEME[1128].jpg
original image: http://www.thieme.eu/upload/media/media/32/.thumb_500_281_Storage_cassette_solution_THIEME[1128].jpg
source: http://www.thieme.eu/en/news_press/203
Image displays in Joomla but not in JA News modules. Missing in JA Bulletin too.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 3, 2014 at 8:22 am #557510I see the wrong format image file from link of you mentioned “.thumb_500_292_shuttle_printing_table_THIEME_%5B1127%5D.jpg“, it has “.” (dot) and “%5” (slash) on file name. You have to fix it first and then the problem in JA News module and JA Bulletin module will be fixed.
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
December 4, 2014 at 1:36 pm #557570Hi Ninja, I replied yesterday but it is awol 🙂 Server problems again?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 5, 2014 at 4:38 am #557631The image file here: .thumb_500_292_shuttle_printing_table_THIEME_%5B11 27%5D.jpg contains special characters in its name.
It shows well in article details page because the article only displays image, it doesn’t handle thumbnail or resize function.
JA News and JA Bulletin modules are based on Joomla and they inherit default Joomla core function, too, they will not work with special character like that. Kindly change the image file name, it will work well then.
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
December 5, 2014 at 11:36 pm #557708Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 8, 2014 at 3:57 am #557804<em>@timtecsa 456323 wrote:</em><blockquote>How is this Thieme article image thumb produced? Magic? Not created by a JA extension?
</blockquote>
You can take a look at the file name of image in that article and see that it doesn’t contain special characters like above image. Hence, the thumbnail is generated correctly.
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
December 10, 2014 at 12:09 pm #558156The thumbnail http://globalprintmonitor.info/images/resized/images/j2xml/3e/_100_100.jpg is derived from images/j2xml/3e/.thumb_500_292_shuttle_printing_table_THIEME_[1127].jpg which looks to me like it has some “funnies” (aka special) in its URL. So why does JA Thumbnail cope with such funnies but both JA News Pro and JA News Featured’s thumb creation code do not?
Although in JA Featured News the image is the second one in the article, the image URL has the same “funnies”.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 11, 2014 at 5:08 am #558273You can take a look at code of these 2 extensions: JA Thumbnail plugin and JA News Pro module to see the differences of resize function:
+ JA Thumbnail plugin: plugins/content/plg_jathumbnail/plg_jathumbnail.php with function jaResize($image, $max_width, $max_height, $crop = 1)
+ JA News Pro module: modules/mod_janewspro/helpers/jaimage.php file with function resize($image, $width, $height, $crop = true, $aspect = true)
Look at the article: “THIEME´s answers on the growing demand for printing on technical glass solutions” , the image is added with incorrect file name, JA Thumbnail plugin gets this wrong image name and it shows “_100_100.jpg” in resized one.
With JA News Pro, the resize() function will check the file name is not correct, it will not get it and module will not show any image on frontend
I hope you will not ask me why these 2 extensions act not the same way as definitely they are different extensions which handle different tasks.
And as I can see the JA News Pro only shows 4 items, why don’t you simply rename the image’s name to the correct format to make it works? It will save time for both you and us.
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by Ninja Lead 9 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum