Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sleepy

Pages: 1 2 [3] 4
31
Hi,

Would anyone please tell me how to add a link for "back to the category (and the page)" where the images is?
I wanna a link or a button in the details.html, so that when users are viewing several images, they could go back to the image's catetory and page more easily.

Thank you very much.

32
Thanks, KurtW.
It worked...^_^
It's indeed the problem of MySQL 5.0.x.

However, there's only one file, index.php, I needed to add " (   ) ". Other files already had it.
Anyways, my problem solved.

Thank you very much.

33
Hello,

Here are my steps to transfer my gallery to a new host:
1. copy all the files under 4image to the new space
2. use "Download a MySQL Database Backup" in "Backups  in Cpanel" and restore the backup file to the new site
3. add the datebase user name and add it to the database restored in step 2 (the username is different the one in the old host, but I've modified it in config.php)
4. Then, I saw the following error message in the frontpage:

An unexpected error occured. Please try again later.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sleepy7/public_html/album/includes/db_mysql.php on line 116


After I logged in, the error message became:

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 16, 2, 1, 11, 3, 17, 5, 9, 7, 8, 18, 6, 10, 19, 12, 13, 14, 4, 15) ORDER BY RAND() LIMIT 4
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sleepy7/public_html/album/includes/db_mysql.php on line 116



Except for the frontpage, other pages worked fine without any problem.

Does anyone know what happened to my gallery??? The mod I used in the frontpage is only "add more random images".

Here's the correct album: http://album.sleepy.tw/
Here's the new one with problem: http://garm.lunarservers.com/~sleepy7/album/


Thank you very much...

34
sorry guys  :( i am on a vacation now  8)
I will upload an updated version once i am back

Hello Maxpaul,

We all really appreciate your great theme for 4images.
There's no need to be sorry.
Just enjoy your vacation 8) and have fun  :wink:

Thank you very very much.

Sleepy

35
The images are loaded as background images to give the "visual improvement" – image loader effect!
You have two options

1) Remove the image loader and put the image in a table with fixed width;
This is not recommended, because it will take longer to load on a dialup and since the image is squeezed into the table, it looks more distorted...

2) Use this mod: http://www.4homepages.de/forum/index.php?topic=10720.0
It improves loading time by creating a new detailed image according to your setting and keeping the original image as it is and also improves the quality of image in preview
- I am using this mod in combination with the image loader.

Please decide which option suits you the best...
then I will try to give you the details.html template page for your selection
Regards ;)

I think I'll try the 2nd option, installing the mod.
Hopefully I could instally that successfully later and please also teach me know how I should revise details.html.

Thank you very much.

36
Hello Maxpaul,

Thanks for your reply to my last post.
That really helped me and I appreciate your help.

However, here comes another question  :lol:
For pics with big size, I would like to resize its "view-width", not resize the orginal file itself.
I still want to keep the original file with original size after it's uploaded.
However, when I tried to change {width_height} in jpg.html, I failed.
I found that your template shows the pic as a background rather a image so that I didn't know how to make shrink to a fixed width (i.e. 760px).

Would you please teach me how to do it???

Thank you very much and I am looking forward to your reply.

37
Hello Maxpaul,

Would you please tell me how to set the page width of this template???
I tried to added width="800" in the home.html but in vain.
Right now, people are having bigger and bigger LCD, if I don't fix the width, the page would look a little "loose" when people are viewing with higher resolution. Please teach me how I could set it... 8)

Besides, another question about the picture security. I know this is not related to your template, but I see in your website, people could see the pics but couldn't get into the folder. However when I set the mode of the folder, my pics couldn't be shown well in the album. Would you please tell me how the setting should be to have the same protection as your album.

Thank you very much.

38
if u have changed the hotdt.js file try to replace it with the orginal one ;)
I didn't change hotdt.js, but anyways, I upload this file again with the original one.
However, the situation is the same. When I view the pics, the left panel remains closed...:(

try to remove {if cookie_sc3}style="display: none;"{endif cookie_sc3} in the details.html
!!! the cookie function is disabled !!!
hope it works ;)
Thank you very much, Maxpaul.
By doing what you said above didn't solve my problem.
Anyways, I was just installed this site and I think I'll start it over rather than find out where the problem is.

Appreciate your help and thanks for the template again 8)

39
if u have changed the hotdt.js file try to replace it with the orginal one ;)
I didn't change hotdt.js, but anyways, I upload this file again with the original one.
However, the situation is the same. When I view the pics, the left panel remains closed...:(

40
by default it should be open always… don’t know how u got it closed by default?  :? :? :?

Maybe I changed somewhere to cause it closed.
Would you please tell me how to change that back to open by default (when viewing the pics)???
Btw, here's my album, FYR.
http://www.sleepy.tw/album/

Thank you very much. 8)

41
i have modified the templates//thumbnail_bit.html and removed the user ID and added {lang_hits} {image_hits} after the comment.
now on my index page you can see the this change
Picture
name
categorie
comment:
Hits : 6

but in the the categorie page it only displayes the number of hits and not the word Hits at all.
What do i have to do?

here see it your self http://www.persianelement.com you see the word hits after the comment that go to one of the categories after comment you see only the number of hits.

appreciate your help
Filip
Hello, I have the similar question butin an opposite way.
I could see the "Hits:" in the catetory page but couldn't see that in the index page. (in the thumbnails).

Where did I do wrong???

Thank you very much.

42
Hello,

Does anyone know how I could change the default of "ON or OFF" on the user panel at the left hand side???
Thank you very much for your help.

meaning reverse it?

Right now, when I log on the album, the user panel will shown in the left hand side.
When I view the image (details.html), it would hide automatically unless I click the button.
However, if I click it and unhide the panel in PICTURE1 and then view PICTURE2, the panel would be hidden by itself again.
How could I keep the setting (show the panel) all the time until the button is clicked???

Thank you very much for your prompt reply.
I really appreciate it!!!

43
Hello,

Does anyone know how I could change the default of "ON or OFF" on the user panel at the left hand side???
Thank you very much for your help.

44
Hello Bill and Maxpaul,

Have you got any idea why the cpu use would go that high when using Firefox???
I have the same situation on my PIII-933 latop but couldn't figure out which code causing that.

If you've already got an answer that how to resolve this, please let me know.
Thank you very much.

Quote
Hey Maxpaul,
Great template! I have installed,  constructed and destructed: just had a good time with this template. I have found a little quirk with the details page, just with Firefox. High cpu usage with the details page in Firefox, not as bad in  IE. On a PII laptop I get 100% usage with Firefox, 40% with IE using your details page. Only when the page has focus.  When I use the default template  page, usage is the same with IE and Firefox, about 7%. Numbers are proportional with a faster machine.
I've been to busy at work to track it down. I will post when I find the cause, but I hope you can beat me to it. Donna.nmblaptops.com

Later,
Bill

 8O I had not noticed this problem since it is working fine on my pc…. if it’s the problem with the JavaScript, please share with us when u find a solution to the above mentioned problem…

45
Hello,

First, thanks for this wonderful template, Wallpaper. I really appreciate it.
However, when I change the thumbnail size to 160*120, I got a straight line in the background of the thumbnail.



Would you please tell me how I could resolve this issue???

Thank you very much.

Sleepy

Pages: 1 2 [3] 4