How can I display a single image in an article, floating and resized? Not a thumbnail or slideshow.
I can use `view=category`, but than I can not resize or I can use `view=switchimage`but than it can´t float.
Anybody any idea?
Display single image, not thumbnail, floating and resized?
-
- Phoca Newbie
- Posts: 6
- Joined: 28 Jan 2012, 00:14
- Jan
- Phoca Hero
- Posts: 48676
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display single image, not thumbnail, floating and resize
Hi, what you mean with resized?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 28 Jan 2012, 00:14
Re: Display single image, not thumbnail, floating and resize
I would like to display a single image at a different size than its original size in an article. Not as a thumbnail or link, only the image. Just like the original Joomla tool in the article editor.
That is (if I am right) only possible with switchimage. However, I also would like to have another picture beside it or some text of the article. And that can only be done with categoy view?
A little bit like this:
I can use the code
to display a single image but i can not change the size of the picture
I can use the code so I can change the size but than I can not put any text of the article beside it or align it with another picture (as far as I know!)
That is (if I am right) only possible with switchimage. However, I also would like to have another picture beside it or some text of the article. And that can only be done with categoy view?
A little bit like this:
Code: Select all
++++++++++++
+ + And here
+ picture + some text
+ + of the article
++++++++++++ or another picture
Code: Select all
{phocagallery view=category|categoryid=15|imageid=635}
I can use the code
Code: Select all
{phocagallery view=switchimage|basicimageid=635|switchheight=480|switchwidth=640|switchfixedsize=0}
Last edited by rsav on 07 Mar 2012, 21:25, edited 1 time in total.
- Jan
- Phoca Hero
- Posts: 48676
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display single image, not thumbnail, floating and resize
Hi, then just select e.g. some thumbnail and paste the image directly to your article and modify the html in the editor. 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 28 Jan 2012, 00:14
Re: Display single image, not thumbnail, floating and resize
Yes I can do that.
I liked the Phoca plugin solution because it keeps the code nice and clean and the pictures well organised. But maybe I am trying the difficult way!
I liked the Phoca plugin solution because it keeps the code nice and clean and the pictures well organised. But maybe I am trying the difficult way!
- Jan
- Phoca Hero
- Posts: 48676
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display single image, not thumbnail, floating and resize
So then you can customize the plugin in the code.
Jan
Jan
If you find Phoca extensions useful, please support the project