test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • timtecsa Friend
    Ninja Lead Moderator
    #557510

    I 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 Friend
    #557570

    Hi Ninja, I replied yesterday but it is awol 🙂 Server problems again?

    Ninja Lead Moderator
    #557631

    The 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 Friend
    #557708

    How is this Thieme article image thumb produced? Magic? Not created by a JA extension?


    1. thieme_thumb
    Ninja Lead Moderator
    #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 Friend
    #558156

    The 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 Moderator
    #558273

    You 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.

Viewing 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