Picture width in article

Phoca Gallery plugins - plugins for Phoca Gallery extension
vezvon
Phoca Member
Phoca Member
Posts: 37
Joined: 06 May 2008, 19:22

I'll take a loo

Post by vezvon »

I'll take a look, hopefully find it..

Thanks again, good night!
vezvon
Phoca Member
Phoca Member
Posts: 37
Joined: 06 May 2008, 19:22

Hi Jan,I

Post by vezvon »

Hi Jan,

I haven't found about adding specified pictures, so if you could please write me a code for choosing for example pictures with ids: 7, 11 and 13. And what do I have to do with float boxes? I think they're included in template's html..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

You should add three

Post by Jan »

You should add three independent boxes

{...id=7}
{...id=11}
{...id=13}

But I think, there will be displayed vertically so if you want to display them horizontally, you must change the html in plugins/content/phocagallery.php ... adding e.g. 'style="float:left"' to div's boxes...

Jan
If you find Phoca extensions useful, please support the project
vezvon
Phoca Member
Phoca Member
Posts: 37
Joined: 06 May 2008, 19:22

I probably didn'

Post by vezvon »

I probably didn't understand you well, but it doesn't work. Here is my code:

{phocagallery view=switchimage|switchheight=150|switchwidth=200|basicimageid=387}</p>
{id=7}
{id=11}
{id=13}
{phocagallery view=category|categoryid=16|limitstart=0|limitcount=3|detail=0|displayname=0|
displaydetail=0|displaydownload=0|imageshadow=shadow1|enableswitch=1}

And btw how to remove detail icon from thumbnail? I changed 'displaydetail' to 0, but nothing happened (you can see the code above).
vezvon
Phoca Member
Phoca Member
Posts: 37
Joined: 06 May 2008, 19:22

without <p> in

Post by vezvon »

without <p> in the first line
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Great, but look at y

Post by Jan »

Great, but look at your code if it is valid...

if you remove the <p>, you should remove the </p> too...

the <p> can be changed by <span> (<span></span>) ... the span is not a block tag but inline tag, so it should work too..

Thank you for this info, it can help other users too...

Jan
If you find Phoca extensions useful, please support the project
vezvon
Phoca Member
Phoca Member
Posts: 37
Joined: 06 May 2008, 19:22

Hi,actua

Post by vezvon »

Hi,

actually it's without any <p> around. Paragraph before was closed with <p> and no other was opened.. Does that mean that my code is ok? Beacuse if it is, then it doesn't work I'm afraid.. and what about removing detail icon?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

I thougth, you have

Post by Jan »

I thougth, you have tested it and it works ... so try to ad <span> istead <div> or <div style="float:left">

Jan
If you find Phoca extensions useful, please support the project
vezvon
Phoca Member
Phoca Member
Posts: 37
Joined: 06 May 2008, 19:22

I tried everything i

Post by vezvon »

I tried everything in html in article, but it doesn't work. It still shows first 3 pictures in gallery. So, this is the code (html):

<p>{phocagallery view=switchimage|switchheight=150|switchwidth=200|basicimageid=387}</p>
<p>{id=388} {id=388} {id=389}</p>
<p>{phocagallery view=category|categoryid=16|limitstart=0|limitcount=3|detail=0|displayname=0|
displaydetail=0|displaydownload=0|imageshadow=shadow1|enableswitch=1}</p>

This is displayed in article:

{phocagallery view=switchimage|switchheight=150|switchwidth=200|basicimageid=387}
{id=388} {id=388} {id=389}
{phocagallery view=category|categoryid=16|limitstart=0|limitcount=3|detail=0|displayname=0|
displaydetail=0|displaydownload=0|imageshadow=shadow1|enableswitch=1}

When testing that page, I see switch gallery with first 3 pictures from gallery. Between basic image and 3 thumbnails, I see {id=388} {id=388} {id=389}..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

No, you must edit ht

Post by Jan »

No, you must edit html (php) here:
plugins\content\phocagallery.php

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