We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23360
    • 258 Posts
    Dear All,

    I am a bit suprise that can not do it.

    1) I add an image on a page (small image) Then I selected the image and I click on the link icone to create a link.
    After a windows is opened and I can only chose a file AND NOT an image from /assets/images.

    Why,

    Also I would like to know how can I add rel= to my link

    example:
    <a rel="test" href="assets/images/mybigimage.jpg" title="my image"><img src="assets/images/mysamllimage.jpg" /></a>
    Above I added rel="test".

    Do you have an idea how can I add it

    many many thank for your help
    Pierrot
      • 23360
      • 258 Posts
      Any idea, it will help a lot
        • 26931
        • 2,314 Posts
        see this thread, hope it still works for MODx 1.0.2 -> http://modxcms.com/forums/index.php/topic,13450.msg166447.html#msg166447

        or have a look at DirectResize: http://modxcms.com/forums/index.php/topic,19236
          • 23360
          • 258 Posts
          Thank for you reply,
          I already saw directsize and I was very interessted on it. But I could not find how to use it.
          I followed the instruct from the lin k you gave me but then how can I make it working in order to have a small image and when we click on it it zooms with a background as does lightbox?