close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image Resizer - can it work between domain and subdomain

Thread began 10/21/2013 4:56 pm by dlovas275157 | Last modified 10/22/2013 5:56 pm by Jason Byrnes | 687 views | 5 replies |

dlovas275157

Image Resizer - can it work between domain and subdomain

I have a domain that hosts my custom built cms using DataAssist and other WA extensions. Via the cms insert/update/delete forms, I upload images to a folder called "images" on the main domain (www.domainname.com/images)

Then I have two sites that need to use the images as below:
www.domainname.com
subdomain.domainname.com

Problem is, i need to use Image Resizer on both the front-end pages of the domain and subdomain sites. I cannot seem to get it to work on the subdomain's front-end pages. Works fine on the main domain's pages, just not on the pages of the subdomain.

Is there a way to get this to work? Do I need dedicated hosting or some sort of special setup to get Image Resizer to work across to a subdomain?

Thanks for any help.

-DL

Sign in to reply to this post

Jason ByrnesWebAssist

this is a limitation to the way sub domains work.

a sub domain maps a domain name to a sub folder of your site.

That subfolder of the site becomes the root folder for that sub domain

your subdomain does not have visibility to folders that are bellow the subfolder that it represents.

Your subdomain:
subdomain.domainname.com


is not able to access any of the files at the main domain:
www.domainname.com

Sign in to reply to this post

dlovas275157

Jason,

I assumed that was the case. Is there a way to fake the subdomain to get around this so the image resizer can work on both.. for instance....

make: domain name.com/folder appear in the browser as: folder.domainname.com

That way not actually using a subdomain, but appearing so?

Sign in to reply to this post

Jason ByrnesWebAssist

No, there is not a way to do that.

Sign in to reply to this post

dlovas275157

I talked with my hosting company, and they said I could run a php script between two domains if they were both on the same dedicated server (linux).

Do you see any issue with this particular script running between two domains on the same dedicated server (linux)... knowing the script requires a relative path. Can you relative path from one site's root via ../ to another site's root. Have you guys ever tried this with this script.

I have limited knowledge of dedicated servers so any advice you may have regarding this would be helpful before I move these sites.

Sign in to reply to this post

Jason ByrnesWebAssist

even with a dedicated server, the sub domain will not be able to access the main domains files using a relative path.

This will not work using image resizer.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...