Post Reply 
 
Thread Rating:
  • 221 Votes - 2.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding random images to your page
11-23-2011, 12:08 AM (This post was last modified: 11-23-2011 12:12 AM by LennekeDP.)
Post: #1
Adding random images to your page
Hi there,

http://fotografie.lennekedp.nl/

If you look at this page you see 2 images. At first I added them just the way I used to add them while not using a CMS system. But if somebody else simply wants to change them I thought it would be more easy to do it with Gallery.

At first I added it this way:
[[!GalleryItem? &id=`23` &toPlaceholders=`0`]]
And then using the id of the image I want. But I can't find how to change te size etc. of the image.

Or do you know a better way of adding pictures to my website? I also tried tie GalleryItemTV, but then I could only add one picture to a page, or more times the same picture.

And do you know a way of adding more PrettyGallery albums seperated at one page? A lot questions, I know, I'm sorry for that.

I'm using MODx Revolution 2.1.3-pl (traditional)
http://codingpad.maryspad.com/2009/05/31...ing-eform/

Like here you posted withing the tutorial several pictures and when you click on them you can see them al by clicking next. I know that website is based on Wordpress, but is there an easy way of doing that on MODx? Or is it just as when you use Lightbox that you have to name each image at your template?


Find all posts by this user
Quote this message in a reply
11-29-2011, 10:48 AM
Post: #2
RE: Adding random images to your page
It really depends on what your aim is. If you're just posting the occasional picture in your content then I would just recommend you do it using the content editor (having TinyMCE enabled helps to make the image upload and insertion process easier). I would then integrate something like jQuery's fancybox (http://fancybox.net/) to enable the fancy image viewer.

If on the other hand you're having a dedicated photo section on your site with albums and all that then I would definitely consider using Gallery. I personally haven't used it much but here's a tutorial that might help: http://rtfm.modx.com/download/attachment...8905236000

HTH


Find all posts by this user
Quote this message in a reply
12-01-2011, 03:34 AM
Post: #3
RE: Adding random images to your page
Thanks a lot Mary! I'll be on it.


Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread:
1 Guest(s)

Return to TopReturn to Content