Its a hack and Im just taking a shot in the dark with no idea how you get
the tags code wise but
var imgurl = '
'; // I assume this is already
in a var somewhere just putting for sake of understanding
imgtag = imgurl.replace("./","/ticketstaff/");
alert(imgtag);
H
Trying to dechiper the question but I think he is getting the img tags via
Ajax to render on his site. Can you give us the code you use to request
said images and maybe we can give you some direction or js code to help you
Eric
On Thursday, July 4, 2013 2:46:18 AM UTC-4, baur79 wrote:
>
> hi,
glegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of baur79
Sent: Friday, July 05, 2013 3:41 PM
To: cake-php@googlegroups.com
Subject: Re: redirect images url from live javascript
thanks, but no
the tag in ajaxed javascript code which i get from 3rd party site.
On Friday, July 5, 20
l->image("logo.png", array('fullBase' => true));
>
>
>
>
>
> *From:* cake...@googlegroups.com [mailto:
> cake...@googlegroups.com ] *On Behalf Of *baur79
> *Sent:* Friday, July 05, 2013 9:37 AM
> *To:* cake...@googlegroups.com
> *Subject:* Re:
Friday, July 05, 2013 9:37 AM
To: cake-php@googlegroups.com
Subject: Re: redirect images url from live javascript
all images return with the relative path as
all i need to redirect
example.com/tickets/images/file.png
to
example.com/ticketstaff/images/file.png
On Friday, July 5,
all images return with the relative path as
all i need to redirect
example.com/tickets/images/file.png
to
example.com/ticketstaff/images/file.png
On Friday, July 5, 2013 5:46:35 PM UTC+6, Simon Males wrote:
>
> Share the code generating the element.
>
>
> On Fri, Jul 5, 2013 at 2:23 PM, bau
Share the code generating the element.
On Fri, Jul 5, 2013 at 2:23 PM, baur79 wrote:
> please any hints?
>
>
> On Thursday, July 4, 2013 12:46:18 PM UTC+6, baur79 wrote:
>>
>> hi,
>>
>> i have use the 3rd party jquery ajax javascript
>> it returns me the live code which contain img tags
>> as
please any hints?
On Thursday, July 4, 2013 12:46:18 PM UTC+6, baur79 wrote:
>
> hi,
>
> i have use the 3rd party jquery ajax javascript
> it returns me the live code which contain img tags
> as
>
> my url is example.com/tickets/
> (controller name is TicketsController.php)
>
> so img full path
hi,
i have use the 3rd party jquery ajax javascript
it returns me the live code which contain img tags
as
my url is example.com/tickets/
(controller name is TicketsController.php)
so img full path became as example.com/tickets/images/file.png
and gives me error as
Error: The action images is