Smart Image Processor PHP 2 Support Product Page
This topic was archived
Recordset path
Asked 05 Jun 2007 22:18:17
1
has this question
05 Jun 2007 22:18:17 Ken Hilton posted:
I am having trouble editing images from a recordset using SIP PHP2. Actually more than trouble, it just doesent work.It suits me to have just the filename saved and not the full path in the database field. Is there a way I can add the path to the PHP code.
Or am I missing something altogether.
Edited by - Ken Hilton on 06 Jun 2007 00:16:41
Replies
Replied 06 Jun 2007 16:12:20
06 Jun 2007 16:12:20 Georgi Kralev replied:
Hi Ken,
It is a little bit unclear for me what is your problem. Could you describe in more details the issue?
I will ask you also to provide your page in order to be able to see what exactly is going on.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
It is a little bit unclear for me what is your problem. Could you describe in more details the issue?
I will ask you also to provide your page in order to be able to see what exactly is going on.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Replied 06 Jun 2007 17:06:23
06 Jun 2007 17:06:23 Ken Hilton replied:
I think I have found the problem.
When you add the SIP2 behavior (in DW CS3 at least) the code is added before the recordset.
I am assuming if it needs dynamic data to retrieve values it must be placed after the recordset.
I can’t believe I am the only one who has had this problem, SIP2 can’t have ever worked dynamically 'out of the box, or maybe this is just a DW CS3 specific bug.
As a reward for solving my own support issue, do you know of a stable way I can force a page to refresh.
Obviously when an image is flipped or rotated for example, the original image is shown until the viewer refreshes, this is not very client friendly. I just wondered if there was a DMXZONE tip for this.
Edited by - Ken Hilton on 06 Jun 2007 22:06:01
When you add the SIP2 behavior (in DW CS3 at least) the code is added before the recordset.
I am assuming if it needs dynamic data to retrieve values it must be placed after the recordset.
I can’t believe I am the only one who has had this problem, SIP2 can’t have ever worked dynamically 'out of the box, or maybe this is just a DW CS3 specific bug.
As a reward for solving my own support issue, do you know of a stable way I can force a page to refresh.
Obviously when an image is flipped or rotated for example, the original image is shown until the viewer refreshes, this is not very client friendly. I just wondered if there was a DMXZONE tip for this.
Edited by - Ken Hilton on 06 Jun 2007 22:06:01
Replied 07 Jun 2007 15:08:13
07 Jun 2007 15:08:13 Georgi Kralev replied:
Hi Ken,
I am glad that everything worked fine. I do not know what do you mean under <b>stable way</b> but if you need to refresh your page you could try the following Javascript function:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<script type="text/javascript">
<!-- Begin
function reFresh() {
location.reload(true)
}
// End -->
</script>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I hope that you will find it useful.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
I am glad that everything worked fine. I do not know what do you mean under <b>stable way</b> but if you need to refresh your page you could try the following Javascript function:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<script type="text/javascript">
<!-- Begin
function reFresh() {
location.reload(true)
}
// End -->
</script>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I hope that you will find it useful.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Replied 07 Jun 2007 15:40:04
07 Jun 2007 15:40:04 Ken Hilton replied:
Thanks George
Will try that one.
I have attached it to the onunload of the BODY tag so that when the returned processed image comes into the page it is already refreshed
Is that sensible?
Edited by - Ken Hilton on 07 Jun 2007 16:23:23
Will try that one.
I have attached it to the onunload of the BODY tag so that when the returned processed image comes into the page it is already refreshed
Is that sensible?
Edited by - Ken Hilton on 07 Jun 2007 16:23:23
Replied 07 Jun 2007 17:49:42
07 Jun 2007 17:49:42 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>I have attached it to the onunload of the BODY tag so that when the returned processed image comes into the page it is already refreshed
Is that sensible?<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
If you have tested it and it suit your needs I do not see any problem.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Is that sensible?<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
If you have tested it and it suit your needs I do not see any problem.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com