Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2002-12-21 16:47:06

Lucifix
Member
Registered: 2002-12-12
Posts: 34
Website

whats wrong?

I have tried to insert another banner under menu. I used this code:

diapo.php:

$output.= "<a href="http://www.sloport.net/cgi-bin/ads/ads. … mali" target=_blank>
<img src="http://www.sloport.net/cgi-bin/ads/ads. … mali" ALT="Sloport.net" style="border:none;">";

But then the page doesnt want to load. Can you tell me whats wrong?

Offline

#2 2002-12-21 17:13:47

Lucifix
Member
Registered: 2002-12-12
Posts: 34
Website

Re: whats wrong?

ufff... :D i solved it by my self... here is the right code:

    $output.= "<a href="http://www.sloport.net/cgi-bin/ads/ads. … mali" class="back"><img src="http://www.sloport.net/cgi-bin/ads/ads. … mali" ALT="Sloport.net" style="border:none;">";

Offline

#3 2002-12-21 17:16:58

Lucifix
Member
Registered: 2002-12-12
Posts: 34
Website

Re: whats wrong?

nope didnt fix anything  :oops:

Offline

#4 2002-12-21 18:15:11

Lucifix
Member
Registered: 2002-12-12
Posts: 34
Website

Re: whats wrong?

now its ok... i fix that :D

Offline

#5 2002-12-21 19:28:34

Lucifix
Member
Registered: 2002-12-12
Posts: 34
Website

Re: whats wrong?

can you delete those 3 posts? couse i am doing myself emberess  :oops: 
Link of the sec pic doesn't work. here is the code that i inserted in diapo.php file: 

    $output.= get_fin_tableau();
    $output.= "<a href="http://www.3delavnica.com" class="back" style="border:none;" target=_blank><img src="3delavnica1.gif" ALT="3delavnica" style="border:none;"></A></p>";
    $output.= "<a href="http://www.sloport.net/cgi-bin/ads/ads. … mali" class="back" target=_blank><img src="http://www.sloport.net/cgi-bin/ads/ads. … mali" ALT="Sloport.net" style="border:none;"></A>";
    $output.= "

Offline

#6 2002-12-21 21:37:46

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11755
Website

Re: whats wrong?

ok, so you've understood you had to replace all the " by ", for example :
alt="my picture" becomes alt="my picture"


Latest blog post on Piwigo.com: Import from Flickr to Piwigo (May 21st, 2013)

Online

#7 2002-12-22 02:10:06

Lucifix
Member
Registered: 2002-12-12
Posts: 34
Website

Re: whats wrong?

Yes i've seen that. But why still doesn't work secund link?

Offline

#8 2002-12-22 08:19:24

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11755
Website

Re: whats wrong?

I don't know. What do you mean by "it doesn't work" ?


Latest blog post on Piwigo.com: Import from Flickr to Piwigo (May 21st, 2013)

Online

#9 2002-12-22 11:08:03

Lucifix
Member
Registered: 2002-12-12
Posts: 34
Website

Re: whats wrong?

Check here: http://members.lycos.co.uk/lucifix/phpwebgallery and you will see that secound link (sloport) doesn't work, and I am using that code.

Offline

#10 2002-12-22 11:22:09

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11755
Website

Re: whats wrong?

Code:

 $output.= "<a href="http://www.3delavnica.com" class="back" style="border:none;" target="_blank"><img src="3delavnica1.gif" alt="3delavnica" style="border:none;" /></a>"; 
$output.= "<a href="http://www.sloport.net/cgi-bin/ads/ads.pl?member=lucifix;banner=NonSSI;page=01;setdest=sloport-mali"  class="back" target="_blank"><img src="http://www.sloport.net/cgi-bin/ads/ads.pl?member=lucifix;page=01;setdest=sloport-mali" alt="Sloport.net" style="border:none;" /></a>";

This will work. And you don't use the code you show just above, because the HTML output is not equivalent...


Latest blog post on Piwigo.com: Import from Flickr to Piwigo (May 21st, 2013)

Online

#11 2002-12-22 11:26:39

Lucifix
Member
Registered: 2002-12-12
Posts: 34
Website

Re: whats wrong?

yup that one works  :D  But is it possible to set it little more to the right? Couse right its not standing in line with other link.

Offline

#12 2002-12-22 11:41:51

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11755
Website

Re: whats wrong?

Code:

<img ... style="margin-left:20px;" ... />

Latest blog post on Piwigo.com: Import from Flickr to Piwigo (May 21st, 2013)

Online

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013