PHP using HTML editor - Page 2

User 2194035 Photo


Registered User
7 posts

I tried the iframe script you suggested. Still no image. Where there used to be a little square where the image should have been, there was a white-outlined rectangle with no image.

Is it possible that my PHP installation got corrupted and is messing everything up?
User 187934 Photo


Senior Advisor
18,728 posts

Did you look at this?
Eric Rohloff wrote:
I would take a close look at this.
<iframe><src="headerpics/abb-heading-1d.jpg"></iframe>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2194035 Photo


Registered User
7 posts

Yes. As I said, I tried <iframe><src="headerpics/abb-heading-1d.jpg"></iframe> and the image did not display.
User 188640 Photo


Registered User
747 posts

Once upon a time there was a man who was trying to find a picture. He knew which storage building he kept the picture in but he couldn't find the right 'PATH' to the storage building. :D

Stephen,

I'm pretty sure Eric was giving you a hint when he said:

"I would take a close look at this.
<iframe><src="headerpics/abb-heading-1d.jpg"></iframe>"
A Rose is Just a Weed in a Corn Patch!
User 474778 Photo


Registered User
214 posts

Stephen,

As the guys have hinted, the info you've presented does suggest that (somehow) your browser no longer finds that .png file.

It's all too easy when trying a new idea (such as using PHP's require() or include() functions for the first time) to accidentally break something that previously worked.

Debugging suggestion: Use your browser to examine the HTML source code that WAMP is handing to it. (Exactly how to do that depends upon which browser you are using.) Find the line in the HTML code that points to the page's header image. Compare the path shown there to the path in the page's older, pre-PHP version that worked as desired. Do the paths shown in both versions point to the same file location?
halfnium -AT- alum.mit.edu
dba New England Radius
Yes, I looked just like that in 1962.
User 10077 Photo


Senior Advisor
1,038 posts
Online Now

Your html has errors

<iframe><src="headerpics/abb-heading-1d.jpg"></iframe>"

which is why everyone is telling you to check your html code.
How-To Instructions for Coffeecup Users (tutorials, examples, and downloads)
http://usconsumernet.net/help-for-coffe … -users.php

Personal & Specialized Help for Coffeecup Users
Email me at cchelp@uscni.org or call 865-687-7698
User 2147646 Photo


Registered User
230 posts

Eric Rohloff wrote:
I would take a close look at this.
<iframe><src="headerpics/abb-heading-1d.jpg"></iframe>


Eric was not suggesting you should try this, he was pointing out your error :)
In the post where you pasted the PHP code you will find the above code, change it to <img src="headerpics/abb-heading-1d.jpg" /> ;)


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.