AbleDesign - Support Forum

AbleDesign Forum Index AbleDesign

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
AbleDesign Forum Index
Dynamic Picture Frame Discussion
Dynamic Picture Frame - new program now available
Post new topic   Reply to topic

Goto page Previous  1, 2
Post new topic   Reply to topic    AbleDesign Forum Index -> Dynamic Picture Frame Discussion
View previous topic :: View next topic  
Author Message
squirrel
Regular
Regular


Joined: 02 Nov 2002
Posts: 26

PostPosted: Sat Apr 10, 2004 1:08 am    Post subject: Reply with quote

Me, bugging you again...

I noticed that in the demo, frequently frames do not want to load up and a blank space is left. Is this a known problem? I haven't set this up on my site yet (will be in the next couple days though), but would like to know what I need to do to avoid having that happen.
_________________
--
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Sat Apr 10, 2004 1:11 am    Post subject: Reply with quote

That's actually the first I've heard of that. Perhaps a browser/table issue? What OS/browser are you using? Any specific frames that caused the problem, or was it random?

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
squirrel
Regular
Regular


Joined: 02 Nov 2002
Posts: 26

PostPosted: Sat Apr 10, 2004 1:15 am    Post subject: Reply with quote

No specific frames; it appears to be completely random at that. When I right click on the blank space and select "show picture" it then loads up.

Win 98SE, IE 6.0

Maybe it's just me! I'll find out in the next day or so whether or not it's happening on my site (hopefully not).

btw, the site I am doing this for is for a site selling paintings...each page that this script would show up on will have a different painting on it. What would be the easiest way to make it so that the visitor would not have to enter a URL (earlier in this thread you mentioned passing variables, databases, etc...this site is not using a database, however).

I'm willing to hire you if need be (you already have my email).
_________________
--
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Sat Apr 10, 2004 1:23 am    Post subject: Reply with quote

I wonder if it's a matter of your browser getting bogged down by the large number of small images? They're all very small in size (a couple hundred bytes), but the tiling of lots of them could possibly affect a system taxed for memory. Does that fit?

What you'll want to do is call pframe.php once on any page requiring the picture frames, then pass each image on the page to the picture_frame() function. Say you've got an image called apple.jpg that is 150x150 (pixels), you would do something like:

include("/path/to/pframe.php");
echo picture_frame("/images/apple.jpg", 150, 150, "silver_classic");

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
squirrel
Regular
Regular


Joined: 02 Nov 2002
Posts: 26

PostPosted: Sat Apr 10, 2004 1:31 am    Post subject: Reply with quote

I do have an old system, granted, but I also have 640 MB RAM. I haven't noticed this problem elsewhere, so who knows? I'll just have to give it a try on this site I'm working on and see what happens--probably it's going to be just fine and I'm making you worry for nothing.


'scuse my ignorance, but the "echo picture_frame" part would appear within the page itself (with the php include call)?

For example:

Code:
<?php
include ("/home/[user]/public_html/pframe/pframe.php");
echo picture_frame("/images/apple.jpg", 150, 150, "silver_classic");
?>



Seeing how "silver_classic" is being called, I assume that's the default frame, and other frames will still be able to get changed by the visitor?

Thanks for the tips, I will certainly be giving them a try. Should I fail, you know I'll be coming back for you.
_________________
--
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Sat Apr 10, 2004 1:41 am    Post subject: Reply with quote

Quote:
the "echo picture_frame" part would appear within the page itself (with the php include call)?

Correct. That goes in the source code (must be a *.php page) so as to be executed on the server before being sent to the browser.

Quote:
Seeing how "silver_classic" is being called, I assume that's the default frame, and other frames will still be able to get changed by the visitor?

Yes. You can set the default to whatever you want. In your case, there would be a default and then a form of some sort for customers to select variations.

Quote:
I fail, you know I'll be coming back for you.

I'm sure you will! That's why I'm not around tomorrow.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
squirrel
Regular
Regular


Joined: 02 Nov 2002
Posts: 26

PostPosted: Sat Apr 10, 2004 1:44 am    Post subject: Reply with quote

LOL, thanks Dan! Well ok, then I'll come for you AFTER Easter, how does that sound.

The more I play around with your demo, I find myself wondering if it's not your DHTML menu that is getting in the way (at least for me). It seems like every-other one is giving me grief, and the "building menu" status text triggered that thought.

Regardless, I'll be setting this up on a site without a DHTML menu, so I'll be certain to let you know how it works out.

Sounds like your solution is going to be a great one for me! Have a wonderful weekend, and will be in touch.
_________________
--
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Sat Apr 10, 2004 2:36 am    Post subject: Reply with quote

Quote:
wondering if it's not your DHTML menu that is getting in the way (at least for me). It seems like every-other one is giving me grief, and the "building menu" status text triggered that thought.

That could well be. DHTML is one of the more troublesome things across browser variations. Not many good alternatives to it, though.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AbleDesign Forum Index -> Dynamic Picture Frame Discussion All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group


Home | Services | Pricing | Portfolio | About Us | Contact
Support | Programs | Purchase | Tutorials | Site Map

© 1999-2013 AbleDesign.com - Web Design that Can!