I'll take a look, hopefully find it..
Thanks again, good night!
Picture width in article
-
- Phoca Member
- Posts: 37
- Joined: 06 May 2008, 19:22
Hi Jan,I
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..
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..
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
You should add three
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
{...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
-
- Phoca Member
- Posts: 37
- Joined: 06 May 2008, 19:22
I probably didn'
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).
{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).
-
- Phoca Member
- Posts: 37
- Joined: 06 May 2008, 19:22
without <p> in
without <p> in the first line
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Great, but look at y
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 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
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
I thougth, you have
I thougth, you have tested it and it works ... so try to ad <span> istead <div> or <div style="float:left">
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 37
- Joined: 06 May 2008, 19:22
I tried everything i
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}..
<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}..
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
No, you must edit ht
No, you must edit html (php) here:
plugins\content\phocagallery.php
Jan
plugins\content\phocagallery.php
Jan
If you find Phoca extensions useful, please support the project