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

Phoca Gallery modules - modules for Phoca Gallery extension
NeroInferno
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Jan 2009, 16:37

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

Post by NeroInferno »

Hello,
i see that the photo in the module Phoca Gallery Random Image appears "little" and "moved".

You can see with your eyes:
PGRI.jpg
Is it normal?
Is possible to show just a larger photo like the width of the module? how?

Thanks :)
m.
Last edited by NeroInferno on 07 Jan 2009, 09:39, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Random Image Module and position of the photo.

Post by Jan »

Hi, no, try to display it with some standard template as e.g. rhuk_milkyway is... or, try to add fixed width for the module, in module settings

Jan
If you find Phoca extensions useful, please support the project
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 »

Hello!
i've to give a fixed width to the module but doesn't happen nothing in Fiforex and neither in Internet Explorer 6.

I've seen that's a problem of Firefox for a big number of template (becuase in Internet Explorer 6 works okay), just for the template i'm using (Vortex) it doesn't work neither in Firefox, nor in IE6.

Here some stamps from firefox, using different templates:
JA_Purity.jpg
rhuk.jpg
phoca_nature.jpg
I don't know what to do :\

Thanks,
m.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Random Image Module and position of the photo.

Post by Jan »

hi, try to install web developer plugin for firefox and try to disable (step by step) css for the site:

go to:
CSS -> Disable Styles -> Individual Style Sheet -> click on css which you want deactivate so then you can see which css is in conflict...

Jan
If you find Phoca extensions useful, please support the project
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 »

Hi Jan,
thanks for the great tip! This plugin rocks :)

I've discovered the problem is the main file (template.css)

..but now what to do? How can i understand how to operate and where?!?
error.gif
Thanks,
m.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Random Image Module and position of the photo.

Post by Jan »

now the second level begins :-)

you need to open the css in some editor and you should try to delete parts of the css and see if the design was changes after removing some classes in your css... then you should find the class which caused the conflict...

Jan
If you find Phoca extensions useful, please support the project
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 »

Okay thanks!

m.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

ok
If you find Phoca extensions useful, please support the project
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 »

Hello
This topic is indicated as solved.
Can you tell us what you changed at the end ?
I have similar problem.
I solved the problem in Firefox by doing so :(in file phocagallery_module_random_image.css)

Code: Select all

#phocagallery-module-ri a img {
	border:0px;padding:0;margin:0;[color=#00BF00]position: absolute;
    left: 20px;
    top: 20px;[/color]
}
but in IE, it doesn't work now.
There is no such css debug tool on IE ?
On IE I don't see the complete picture.
Do I have to edit phocagallery_moduleieall_random_image.css ?
This file seems to be usefull only for IE< 8. (if lt IE 8)
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 »

Sorry mate but for this i'm not able to help you. i hope others users do :)
Post Reply