 |

lancepaterson
User
Nov 21, 2007, 12:12 AM
Post #1 of 4
(1522 views)
Shortcut
|
|
RELATIVE upload URLs?
|
Can't Post
|
|
Hi all - curveball for you. How do I get Page Publisher to use RELATIVE image URLs? At the minute it keeps filling in the site address at the start of the image tag, and doesn't like using a relative path for Upload URL. Tell you why I need this. I have a lovely shiny server with lots of shiny stuff on it. Users need access at a VERY LOW LEVEL to update certain parts of certain pages, but there are other things on there that could be easily broken. So what I was planning to do was let them build the pages in PagePub on a development server, then fire them across using CRON and include them. I can change the uploads URL to the destination server, which works for me, but then they can't preview the pages properly. Destination server is also just a CDN, so doesn't run cgi. Any ideas?
(This post was edited by lancepaterson on Nov 21, 2007, 2:12 AM)
|
|
|  |
 |

Donna
Staff
/ Moderator

Nov 21, 2007, 4:42 PM
Post #2 of 4
(1513 views)
Shortcut
|
|
Re: [lancepaterson] RELATIVE upload URLs?
[In reply to]
|
Can't Post
|
|
Hi Lance, Can you let me know what method you're using to upload the images? :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

lancepaterson
User
Nov 26, 2007, 5:09 AM
Post #3 of 4
(1493 views)
Shortcut
|
|
Re: [Donna] RELATIVE upload URLs?
[In reply to]
|
Can't Post
|
|
At the moment, I'm using timed (CRON) FTP push jobs to send the images up to the server at regular intervals. Is there a better way of sending these?
|
|
|  |
 |

Donna
Staff
/ Moderator

Nov 27, 2007, 1:46 PM
Post #4 of 4
(1476 views)
Shortcut
|
|
Re: [lancepaterson] RELATIVE upload URLs?
[In reply to]
|
Can't Post
|
|
Hmm. Well, because the directories are going to be different from the Page Publisher dir vs. the actual page itself, there's no real solution that will work and still show the preview image in the back end. The best that I could come up with is uploading the image via Page Publisher's image select PML tag, then adding the image via the WYSIWYG editor, where you can specify the path... ...but this gives the problem of the preview image not working in the WYSIWYG, as well as the user having to enter the correct path to the image. Sorry I couldn't be of more help. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|