SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
Thread: Showing a small image 16 x 16
-
Jul 8, 2008, 12:31 #1
Showing a small image 16 x 16
I have a page that displays nothing but a small php included 16 x 16 pixel image.
Is there a way that I could use some sort of javascript script to show the image being displayed on that page on other websites?
I currently use an iframe but some people have problems using iframes so I would to offer multiple methods to display the image. Most people would feel more secure using javascript but I wouldn't know where to start to show this.Smoke Lounge | Hookah Store and Community
Shisha Tobacco
SitePoint Users get 5% off use promo code s1t35p
-
Jul 9, 2008, 03:09 #2
- Join Date
- Jun 2008
- Location
- Hyderabad
- Posts
- 252
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Are you saying that you have an 16X16 image on your page, which will be displayed on other sites. Currently you are using iFrame for this purpose. Am I correct?
-
Jul 9, 2008, 09:41 #3Smoke Lounge | Hookah Store and Community
Shisha Tobacco
SitePoint Users get 5% off use promo code s1t35p
-
Jul 9, 2008, 09:51 #4
- Join Date
- Jun 2008
- Location
- Hyderabad
- Posts
- 252
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Why can't you use src attribute? Create a image tag (either statically or using JS) and set it's src attribute to the URL which outputs image(which comes from database).
-
Jul 9, 2008, 09:58 #5
I dont know JS....
The image is included through a php include and it doesn't just use on image URL it constantly changes depending on the image being displayed.
Like I said I have no clue about javascript, I can manage through php but javascript just doesn't seem to make much sense to me. I am learning it as I go but I don't have time to wait till I am well enough with it.Smoke Lounge | Hookah Store and Community
Shisha Tobacco
SitePoint Users get 5% off use promo code s1t35p
-
Jul 9, 2008, 10:08 #6
this is the URL:
http://bucktenads.com/adserver/display.phpSmoke Lounge | Hookah Store and Community
Shisha Tobacco
SitePoint Users get 5% off use promo code s1t35p
-
Jul 10, 2008, 10:35 #7
The image is servered by a simple php include. I am just wondering if there is a method to serve images from a db on other websites using javascript or if there is a method to show a servered image on a page (such as http://www.bucktenads.com/adserver/display.php) or if anyone can suggest a method.
Smoke Lounge | Hookah Store and Community
Shisha Tobacco
SitePoint Users get 5% off use promo code s1t35p
Bookmarks