Member
Member
IVIedia   2009-08-07, 09:41
#1

Hello everyone

Facebox I'd like to use on my website

=> http://famspam.com/facebox

I already use for other modules, and I'd like to use to display my images zenPhoto
but I have a problem when the image opens in the box, it makes me weird codes

Can you tell me if it's syntax is good?

" rel="facebox" title="

Thank you in advance

PS: I'm french


Bonjour à tous

J’aimerai utiliser facebox sur mon site internet
J’utilise déjà pour d’autre modules, et la j’aimerai utilisé pour afficher mes images de zenPhoto
mais j’ai un problème lorsque l’image s’ouvre dans la box, il me met des codes bizarres

Pouvez vous me dire si c’est syntaxe est bon ?

" rel="facebox" title="

Merci d’avance

Member
Member
flu   2009-08-07, 12:45
#2

Hi IVIedia,
you must know that Zenphoto uses thickbox by default, so I don't get what you are trying to do :
why do you want to use Facebox instead ?


Salut IVIedia,
qu'est ce que facebox fait de plus que Thickbox (utilisé par défaut dans Zenphoto) ?

Member
Member
IVIedia   2009-08-07, 13:13
#3

How can I activate Thickbox, I didn't find it...
I use facebox because I can custumize it with my website ( in my CSS file)

Thank you in advance


Comment je peux activer Thickbox , j'ai pas su trouver ça ...
si j'utilise facebox c'est que je sais le personnalisé avec mon site internet ( au niveau du css )

Merci d'avance

Administrator
Administrator
acrylian   2009-08-07, 13:41
#4

Take a look at the image.php of the zenpage-default theme on how to include thickbox for usage (it is used there for the full image). You can of course also place your own thickbox css file within your theme if the standard thickbox look is not what you want.

Member
Member
IVIedia   2009-08-07, 15:45
#5

Hello, when I write class="thickbox",it works with Thickbox , but i really would like that it works with facebox. When i write rel"facebox", it doesn't work...

" class="thickbox" title="">

into

" rel"facebox title="">

thank you in advance


Bonjour quand je met class="thickbox" , ça marche avec Thickbox , mais j'aimerai le faire fonctionner avec facebox , je met rel"facebox" mais ça ne marche pas ....

" class="thickbox" title="">

en

" rel"facebox title="">

Merci d'avance

Administrator
Administrator
acrylian   2009-08-07, 16:24
#6

Did you include the facebox scripts in the head of the theme page you want to use it?

You also mention weird code above. You have to set the full image to "unprotected". These scripts do not work otherwise.

Member
Member
IVIedia   2009-08-07, 16:34
#7

Yes, here is the code I declare

jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox({
    loading_image : 'loading.gif',
    close_image   : 'closelabel.gif'
  })
})

it opens is a box when I click, but unless the link to see the picture I see a strange code ...

eg : �����JFIF���

thanks


Oui bien voici le code que j'ai déclarer

jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox({
    loading_image : 'loading.gif',
    close_image   : 'closelabel.gif'
  })
})

ça m'ouvre bien un box quand je clique, mais sauf au lien de voir l'image je vois un code bizarre ...

ex : �����JFIF���

merci

Administrator
Administrator
acrylian   2009-08-07, 17:39
#8

I wrote in the post before why you get that...

Member
Member
IVIedia   2009-08-07, 18:29
#9

how I can get just the image and not with full-image at the end ...

the path of the image

eg : http://www.myweb.com/gallerie/image09/photos-paris.jpg

not http://www.myweb.com/gallerie/image09/photos-paris.jpg?p=*full-image

thanks :-)

Administrator
Administrator
acrylian   2009-08-07, 18:42
#10

Set the full image to "unprotected" on the options.

Member
Member
IVIedia   2009-08-07, 18:52
#11

yes yes yes !
Great

it works really well with now Facebox, code just weird because the image was protected!

Thanks very much !

10/10 good script !

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.