Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Feb 15, 2012 @ 14:51
    Rasmus Fjord
    0

    image wont scale above 800x800px

    hey dunno if its a bug or its just me being stupid, so hope you can help solve it :)

    I have an image that is 3648 x 2736 in its org. size.

    im scalin' it with the following line(in a macro) :

    <img alt="Du kommer helt tæt på og kan prøve selv" src="/ImageGen.ashx?image=/media/59/P5010907.JPG&width=940&height=515&Constrain=false&Crop=resize">

     

     

     

     

    but the image comes out at a size of 800x515

    if i set the with to anything lower then 800 its okay but anything over 800 just gets scaled down to 800x515

     

    version is :

    ImageGen Professional version 2.5.7.27945
    (rvc.local)

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Feb 15, 2012 @ 14:55
    Douglas Robar
    0

    Hi, Rasmus,

    Since you're using ImageGen Professional, the settings in the /config/imagegen.config file will be applied as well. The "default" class in the config file probably has a maximum height and width, which you'd want to adjust.

    Full details about the cool stuff you can do with classes in the ImageGen Reference Manual pdf.

    cheers,
    doug. 

  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Feb 15, 2012 @ 14:58
    Rasmus Fjord
    0

    arrh okay :)

    Just havent met that wall before thats why :)

  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Feb 15, 2012 @ 15:07
    Rasmus Fjord
    0

    A quick one.

    Is there a way of deleting the cached images. When i create a new instance of the image :

    941px instead of 940px, i get a new, when I insert 940px again into width i get the old "800px" image.

    I have deleted the chache folder but it just generated a new one of 800px x 515px

    Dunno if  it makes sense to you.

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Feb 15, 2012 @ 15:11
    Douglas Robar
    0

    It may well be cached on the browser, so be sure to flush browser cache.

    If that doesn't do it, you can force ImageGen to ignore any previously-cached images by including the &nocache=true parameter (don't do this in production as it will force ImageGen to create a new image every time)

    And you can always delete the 'cached' folder that will be found in the folder containing the source image.

    cheers,
    doug. 

  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Feb 15, 2012 @ 15:16
    Rasmus Fjord
    0

    thx again :)

Please Sign in or register to post replies

Write your reply to:

Draft