[SOLVED] Random Image Module and position of the photo.

Phoca Gallery modules - modules for Phoca Gallery extension
naperrin
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Feb 2009, 16:42

Re: [SOLVED] Random Image Module and position of the photo.

Post by naperrin »

I wonder if there is any link with the phoca gallery module itself.
It seems my parameters are overlapped by some others.
As if the random image module is affected by the gallery.
In the sources I see :

Code: Select all

<center><div class="phocagallery-box-file" style="height:138px; width:120px;float:left">
<center>
<div class="phocagallery-box-file-first" style="height:118px;width:118px;">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
but in my css I have :

Code: Select all

#phocagallery-module-ri .phocagallery-box-file {
	position:relative;
	width:50px;
	height:50px;
	border:1px solid #E8E8E8;
	padding:5px;
	background:#fcfcfc;
	margin:5px;
	text-align:center;
	overflow:visible;
Where does the height:138px; width:120px come from ??
NeroInferno
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Jan 2009, 16:37

Re: [SOLVED] Random Image Module and position of the photo.

Post by NeroInferno »

The module has got its own css file.

Try to see /components/assets/file.css (sorry but i can't remember well).

Use any additional developer plugin on Firefox to understand the css where some attributes was taken.
naperrin
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Feb 2009, 16:42

Random Image Module and position of the photo.

Post by naperrin »

I've checked already. I don't see where these values were taken from
NeroInferno
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Jan 2009, 16:37

Re: Random Image Module and position of the photo.

Post by NeroInferno »

naperrin wrote:I've checked already. I don't see where these values were taken from
Perhaps they're taken dinamically, from the size of the thumbnails?
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: [SOLVED] Random Image Module and position of the photo.

Post by caro84g »

Hi,

does this problem also appear when you use rhuk_milkyway or beez - the Joomla standard templates?

If you want to inspect css and the html, you can use firebug.
naperrin wrote:I wonder if there is any link with the phoca gallery module itself.
It seems my parameters are overlapped by some others.
As if the random image module is affected by the gallery.
In the sources I see :

Code: Select all

<center><div class="phocagallery-box-file" style="height:138px; width:120px;float:left">
<center>
<div class="phocagallery-box-file-first" style="height:118px;width:118px;">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
---cut---
The sizes mentioned here come from the size parameters of the component in combination with the possible display of name and icons.

Could you post the website?

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
NeroInferno
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Jan 2009, 16:37

Re: [SOLVED] Random Image Module and position of the photo.

Post by NeroInferno »

caro84g wrote:The sizes mentioned here come from the size parameters of the component in combination with the possible display of name and icons.

Could you post the website?

Regards, Carolien
http://www.stampsucommissione.com
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [SOLVED] Random Image Module and position of the photo.

Post by Jan »

The site cannot be reached :-(
If you find Phoca extensions useful, please support the project
Post Reply