21301 Posts in 5735 Topics by 2603 members
| Go to End | ||
| Author | Topic: | 982 Views |
-
Re: Problem adding mutiple images to page

8 February 2013 at 12:08am
If I understand correctly...
You can write own function
http://doc.silverstripe.org/framework/en/reference/image
Just put it in the ControllerSorry for my bad English
-
Re: Problem adding mutiple images to page

8 February 2013 at 2:10am
But normaly i have to define a variable in the page.php or object.php and with this variable i can get the saved content to the templates.
I mean which is the variable here to get the Images?
I don't want to use $SetWidth(xx) i want the image wit its original size.and even if I write a function. I stil have to put a variable inside?!
or?
-
Re: Problem adding mutiple images to page

8 February 2013 at 2:22am
Sorry, I misunderstood
I think that the best solution would be to use this form:
<img src="$URL" />
then you will have the original size
Sorry for my bad English
-
Re: Problem adding mutiple images to page

8 February 2013 at 2:33am Last edited: 8 February 2013 2:33am
Thx a lot!
And your english is not more worse than mine ;)
| 982 Views | ||
| Go to Top |


