Display single image, not thumbnail, floating and resized?

Phoca Gallery plugins - plugins for Phoca Gallery extension
rsav
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 28 Jan 2012, 00:14

Display single image, not thumbnail, floating and resized?

Post by rsav »

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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48676
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Display single image, not thumbnail, floating and resize

Post by Jan »

Hi, what you mean with resized?
If you find Phoca extensions useful, please support the project
rsav
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 28 Jan 2012, 00:14

Re: Display single image, not thumbnail, floating and resize

Post by rsav »

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:

Code: Select all

++++++++++++
+          +       And here
+  picture +       some text
+          +       of the article
++++++++++++       or another picture
I can use the code

Code: Select all

{phocagallery view=category|categoryid=15|imageid=635}
to display a single image but i can not change the size of the picture

I can use the code

Code: Select all

{phocagallery view=switchimage|basicimageid=635|switchheight=480|switchwidth=640|switchfixedsize=0}
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!)
Last edited by rsav on 07 Mar 2012, 21:25, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48676
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Display single image, not thumbnail, floating and resize

Post by Jan »

Hi, then just select e.g. some thumbnail and paste the image directly to your article and modify the html in the editor. :idea:

Jan
If you find Phoca extensions useful, please support the project
rsav
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 28 Jan 2012, 00:14

Re: Display single image, not thumbnail, floating and resize

Post by rsav »

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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48676
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Display single image, not thumbnail, floating and resize

Post by Jan »

So then you can customize the plugin in the code.

Jan
If you find Phoca extensions useful, please support the project
Post Reply