|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Apr 2004
Location: Phoenix
Posts: 223
|
Having trouble linking image on site.
I am setting up a social part (subdomain) of my site that includes a graphic from another part of the site (main domain). Due to security circumstances, I know I cannot link from social.mysite.com to mysite.com/img/img.jpg. However, I found that I can use PHP with the absolute path to find that image's size (width & height) and get a successful read. However, I am still unable to actually show that image in the HTML's img src tag using the absolute path. Anybody know how I can easily circumvent the problem? Thanks. If it makes any difference or is not obvious, I'm using a Linux-based hosting solution for the site.
__________________
"Advancement is answering the questions, discovery is questioning the answers." Last edited by dataDude; 01-03-2012 at 07:23 PM. |
|
|
|
|
|
#2 | |
|
I don't computer.
Join Date: Mar 2003
Location: Ellisville, MO
Posts: 1,561
|
Quote:
I would honestly need to see the lines of code you are trying to use in order to make an appropriate assumption. You can copy and paste the snippets of code here by using the [CODE] BB code tags. Any sensitive links that you want to hide, like the domain, just change to example or domain.
__________________
Gaming Rig - ASUS A8N-SLi Deluxe :: AMD 64 X2 4600+ :: 3GB Corsair XMS PC-3200 ASUS GeForce GTX 560 (Fermi) 1GB :: SB Xi-Fi Fatal1ty Pro 500GB WD Black :: Sony DVD-ROM :: Plextor 716SA DVD/RW OS - WinXP Pro :: Powered by - Enermax 535W PSU ASUS G60JX Laptop - Intel Core i5 M430 :: 4GB DDR3 NVIDIA GeForce GTS 360M 1GB :: 500GB SATA HD (7200) OS - Win7 Home Premium 64-bit |
|
|
|
|
|
|
#3 |
|
Member (8 bit)
Join Date: Apr 2004
Location: Phoenix
Posts: 223
|
Never mind, I figured it out.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|