Announcement

  •  » Extensions
  •  » phgiraud's picture display mod

#1 2006-09-14 16:02:27

anta
Member
2006-07-30
10

phgiraud's picture display mod

Hi,

I’m using phgiraud’s mod http://forum.phpwebgallery.net/viewtopic.php?id=8776  and need some help if possible.

Originaly, the metadata icon wouldn’t work but that was solved on phgiraud’s post by Vdigital.  Thanks you Vdigital.

But unfortunately I’m still getting

Done, but with errors

on the bottom of the page. Otherwise, everything else seems to be working ok.

I’m using version 1.6.1, using Video Intergrator mod and running on a backup of PWG at this link:
http://anta.no-ip.com/www2/gallery_backup/1.6.1/


B.T.W. great work phgiraud on the picture layout. I really hope I can get this solved because I really like this format and like to add it to my main site. Thanks

Offline

 

#2 2006-09-14 16:23:34

sofiene
Member
algerie
2006-09-14
1

Re: phgiraud's picture display mod

anta wrote:

Hi,

I’m using phgiraud’s mod http://forum.phpwebgallery.net/viewtopic.php?id=8776  and need some help if possible.

Originaly, the metadata icon wouldn’t work but that was solved on phgiraud’s post by Vdigital.  Thanks you Vdigital.

But unfortunately I’m still getting

Done, but with errors

on the bottom of the page. Otherwise, everything else seems to be working ok.

I’m using version 1.6.1, using Video Intergrator mod and running on a backup of PWG at this link:
http://anta.no-ip.com/www2/gallery_backup/1.6.1/


B.T.W. great work phgiraud on the picture layout. I really hope I can get this solved because I really like this format and like to add it to my main site. Thanks

Offline

 

#3 2006-09-14 16:32:31

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: phgiraud's picture display mod

You can have some explanations of these errors by:

W3C HTML Validator

If you need more help...
8-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#4 2006-09-14 21:31:48

anta
Member
2006-07-30
10

Re: phgiraud's picture display mod

W3C HTML Validator is a great tool. Heard about it but was never sure what it was for. I tried it and managed to fix all the errors except one:

1.    Line 174 column 112: document type does not allow element "TABLE" here; missing one of "OBJECT", "MAP", "BUTTON" start-tag.
... (technical) info about this picture">

This error I believe refers to: 

<!-- BEGIN metadata -->
      <span id="show_exifs">
        <table class="infoTable" style="font-size: 82%;""  summary="Some more (technical) info about this picture">
          <!-- BEGIN line -->
          <tr>
            <td class="label">{metadata.line.KEY}</td>
            <td class="value">{metadata.line.VALUE}</td>
          </tr>
          <!-- END line -->
        </table>
      </span>
      <!-- END metadata -->

What ever changes I made from serching google had no fix except for replacing span tag with object tag. Object eliminated the error from W3C validator  but not the error from the bottom of my page and the metadata icon didn’t work. So that was no good.

Anyways, I’m a little better off but still have that annoying yellow exclamation mark on the bottom of my page.

Maybe what I need to do is install this mod from a fresh install of pwg just to see if its somthing other than this script...but I welcome any other suggestions.

Offline

 

#5 2006-09-14 21:50:14

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: phgiraud's picture display mod

Ignore the problem isn't there.
(Explanation: We have coded a <table> in a <span> this is incorrect... We will make a corrective for that).

You HTML is correct and the "Done, but with errors" is coming from some where else.

Look JS code...

function LireCookie(nom)
  {
    var arg=nom+"=";
    var alen=arg.length;
    var clen=document.cookie.length;
    var i=0;
    while (i<clean)
....

change clean by clen
That will remove the error...

Enjoy PWG !!!


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#6 2006-09-14 23:37:51

anta
Member
2006-07-30
10

Re: phgiraud's picture display mod

That did it!

Thanks:-)

Offline

 

#7 2006-10-02 15:02:44

anta
Member
2006-07-30
10

Re: phgiraud's picture display mod

Update:

The error I was getting with W3C HTML Validtor was cleared when I changed picture.tbl

<!-- BEGIN metadata -->
      <span id="show_exifs">
        <table class="infoTable" style="font-size: 82%;""  summary="Some more (technical) info about this picture">
          <!-- BEGIN line -->
          <tr>
            <td class="label">{metadata.line.KEY}</td>
            <td class="value">{metadata.line.VALUE}</td>
          </tr>
          <!-- END line -->
        </table>
      </span>
      <!-- END metadata -->

to

<!-- BEGIN metadata -->
     <table id="show_exifs" class="infoTable" style="font-size: 82%;" summary="Some more (technical) info about this picture">
    <!-- BEGIN line -->
          <tr>
            <td class="label">{metadata.line.KEY}</td>
            <td class="value">{metadata.line.VALUE}</td>
          </tr>
          <!-- END line -->
     </table>
  <!-- END metadata -->

I got the changes from the French post at http://forum.phpwebgallery.net/viewtopi … 76&p=2

Cheers.

Offline

 
  •  » Extensions
  •  » phgiraud's picture display mod

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact