Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • perdu Friend
    #131132

    Can someone explain how to control the size of the resized images in both category & section blog views (NOT ja-news). I’ve spent hours searching the forums and user guide but can’t find anything that answers this or where to edit the sizes.

    Also I think the user guide needs to be updated to reflect not only this issue but also the fact that if you have images in your article intro text these are shown along side the resized images in both blog category & blog section views – and usually the resized image that is shown alongside is incorrect and from a completely different article.

    Joomla 1.54
    JA Teline II v1.3 for Joomla 1.5.x.zip

    avekic Friend
    #261209

    If I’m not wrong you can set JA-News, and Ja-News frontpage to appear on each section/category you select, so that every page looks like front page with it’s own headline article, and other articles beneath it.

    If because of something that doesn’t suit your needs here is a way I used before. It is a little bit more work, but the effect is acheived. (this is for Joomla 1.0.13.)

    1. First you prepare your images for upload. You need two of them. One for intro – usually smaller – i made it 100x100px, and one for whole article – a little bit bigger – i made this one 200x200px.

    2. Upload your photos to images/stories/some dir…

    3. You write Intro part of your text, and put {mosimage} tag in it. On the images tab you select your smaller image.

    4. In the main text area of your WYSWYG editor you write entire text again with intro part and it’s {mosimage} tag included also. Now you go again to images tab on the right, and attach a bigger image from the list.

    5. Now you just say that you don’t want intro part displayed when ‘readmore’ is clicked: that is done in parameters tab – just click on the no besides intro text, and that’s it.

    ups… now i see you need solution for J1.5.4 version: maybe the options are not located on the same places, but i hope that you can find logic in this explanation and apply it to your situation. You should be able to do this on J1.5.4 hopefully…

    questbg Friend
    #261211

    The ‘safest’ way is to ensure that the first image in the article is sized to 200 pixels x 200 pixels as avekic said, that way they will resize automatically in Joomla 1.5.x without any distortion.

    perdu Friend
    #261219

    Currently they don’t resize at all – they’re added to /images/resized but they’re still the original dimensions. Also I’m getting 2 images showing up – usually one from a completley different artice/section and on some items the second image is showing as well – there’s no rhyme nor reason to it, if I cut and paste 2 identical articles one will be ok and the other will either have 2 images or the wrong one :confused:

    Do we have to use only {mosimage} for it to work?

    questbg Friend
    #261220

    I’m using Joomla 1.5 and don’t use {mosimage}, in fact, I don’t even know what it is! I believe mosimage was the method for Joomla 1.0?

    Can you send a URL to a demo site so we can take a look?
    Thanks

    perdu Friend
    #261231

    Sorry I meant by using the mosimage mambot in Joomla1x never really used it then and have just realised that it doesn’t come in 1.5.

    Anyway thanks as I think I have it sussed now after reading the above posts and I’ve discovered that it only works if you use the add image button and not if you just paste html code in for your articles.

    But I still can’t quite see the point of it as it doesn’t actually physically resize the image just resizes it to the same dimensions as the original which is a complete waste of server resources so obviously something’s not right. And more importantly what happens if you only want a main image and no image in the intro text?

    No live site as am using localhost.

    sbaldwin Friend
    #261248

    Hi,
    Nice tip! I was wondering what mosimage is. I’ve seen that in my WYSIWYG articles from my template when I click on HTML. I cannot find anything about mosimage though. Thanks for any info! 😀

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 4 voices, and was last updated by  sbaldwin 16 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum