ZenphotoCMS Forum
Editing an image - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Editing an image (/thread-10665.html)

Pages: 1 2


Editing an image - haroon - 2012-12-27

ok i've upgraded to 1.4.3.5

the words that were not searching before are now working but the search result page design is becoming all distorted.

In www.outzeal.com
Please try searching the word "mountain" and see what happens.
However things are ok when you search "closeup".




Editing an image - haroon - 2012-12-27

The Zenphoto filesystem character define is UTF?8
this does not give a green check while running the setup file. can this be a problem




Editing an image - sbillard - 2012-12-27

The only definitive way of knowing what the file system character set is to do as suggested in setup--create the charset_tést file in the zp-data folder and let setup make its tests.

But this is not your problem. The HTML of your page is wrong--

`

                                Northern Areas of Pakistan
                                09-Dec-12                                   [align=justify]Northern...

                            [/align]

`
The DIV after the paragraph tag is not closed (and is not allowed in that place anywy.)




Editing an image - haroon - 2012-12-27

if that's the themes/zenpage/search.php file then I uploaded it exactly as it was downloaded from zenphoto's website.

I was unable to correct the div issue. There are 14 and 14 . I dont know which is in the wrong place. Help required. thanks.

But shouldn't the div issue affect all the search results?




Editing an image - sbillard - 2012-12-28

the problem is probably comming from an album description. So it may not show for all results.




Editing an image - haroon - 2012-12-28

whats the solution




Editing an image - acrylian - 2012-12-28

Indeed the div is not allowed there (and the inline css should not be there as well, align is obsolete in HTML5 btw).

As to the solution check the album descriptions of the related albums.




Editing an image - haroon - 2012-12-28

this is getting beyond my scope.

is this a zenphoto error or something at my end. I havent customized anything




Editing an image - acrylian - 2012-12-28

You have to look at the album description on the backend. Use the html view button on the visual editor to see if there anywhere is this wrong html mentioned above. It is causing the layout issue only on this specific search result apparently. If you do a lot of editing in this editor it may create wrong html code. IF there are wrong nested or not closed elements the editor and also any browser will try to correct it "to make sense". This of cousre can result in the error you see.




Editing an image - haroon - 2012-12-28

The album description as seen through HTML editor is as follows:

album description

below the album description text box it states:

Path: div

Do you mean to say that this DIV tag should not be here in the album description i.e. the correct HTML should be:

album description

Path: p

I created a new album and checked that the DIV does not show up in the code after writing any description. I dont know where has DIV come in all my album descriptions.




Editing an image - acrylian - 2012-12-28

Sorry, I cannot answer that. Maybe you copied text from somewhere elese directly? That is not recommended anyway since it often carries unwanted formatting (from Word e.g.). So you need to remove these divs manually.




Editing an image - haroon - 2012-12-28

THANK YOU!!

You just answered that - I copied the text from my old version. Never knew this could happen.

Issue resolved now.

Take care.