Smart Image Processor ASP 2 Support Product Page

Answered

SIP Not Working

Asked 02 Jan 2008 18:10:01
1
has this question
02 Jan 2008 18:10:01 Andrew Turner posted:
I am using the Smart Image Processor on a site that allows users to upload photographs. I am trying to get it to resize and optimise then save as a certain filename. Everything is getting uploaded but no resize or optimisation is taking place.

I have set the component type to be Auto Detect, but if I set it to .NET the page does not load, it shows the error component not installed. However my host assures me that .NET is installed on the server.

Not really sure where to start looking to resolve the problem. Any help much appreciated.

The site this is being used on is www.vwcampercrazy.co.uk - if you create an account and go to Add New Advert you will be on the page on which the SIP is being used.

Replies

Replied 03 Jan 2008 10:34:59
03 Jan 2008 10:34:59 Kiril Iliev replied:
Hi Andrew,

Please check the following FAQ and send us the results: www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=12767

Regards,

DMX Zones Support Team
Replied 03 Jan 2008 11:05:01
03 Jan 2008 11:05:01 Andrew Turner replied:
Tried this and the results appear below.

Smart Image Processor Components
Detecting Components:

NOT FOUND: Smart Image Processor Own component
FOUND: ASPJpeg Server Component
NOT FOUND: ASPImage Server Component
NOT FOUND: ASPSmartImage Server Component
NOT FOUND: ImgWriter Server Component
NOT FOUND: AspThumb Server Component
Object Msxml2.ServerXMLHTTP.4.0 created
FOUND: ASP.NET Msxml2.ServerXMLHTTP.4.0
Smart Image Processor can be fully used on this server!

I then tried setting the component to ASPJpeg. Again it does the upload but no resize.
Replied 03 Jan 2008 11:36:39
03 Jan 2008 11:36:39 Kiril Iliev replied:
Hi Andrew,

Please make sure that you have uploaded <b>DMXzone.ImageProcessor.dll</b> in your /bin folder.

In addition, please make sure that your <b>ScriptLibrary</b> is uploaded on the server as well.

Regards,


DMX Zones Support Team
Replied 03 Jan 2008 11:43:43
03 Jan 2008 11:43:43 Andrew Turner replied:
Yes these are all in place.
Replied 04 Jan 2008 18:43:17
04 Jan 2008 18:43:17 Andrew Turner replied:
By accident I have just discovered that the component does appear to be resizing and optimising the photos - however it is loading them into the wrong directory (the same directory in which the upload page resides), and loading the original non resized versions into the directory specified in the Pure ASP Upload configuration.

I have the page with the upload in a '/secureadmin' directory, and the photos I want to be load into '/assets/camperphotos/' - I have check the configuration of both Pure ASP Upload and SIP and there certainly specify this directory.

Where else can I look to resolve this problem?
Replied 05 Jan 2008 14:08:10
05 Jan 2008 14:08:10 George Petrov replied:
Hi Andrew,

Yes the default behaviors is to have the images resized on the exact the same location as they were uploaded.
You can use instead of the Overwrite option on the SIP2 interface, the option "Create New" and then specify a file name mast that is preceded with a different path, to have the images after resize stored somewhere else.

Greetings,
George

--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFiles.nl
--------------------------------------------------
Replied 06 Jan 2008 09:13:08
06 Jan 2008 09:13:08 Andrew Turner replied:
OK, success at last - hard coding the image path is working. One other thing though. Is it possible for me to include a reference to a recordset field in the 'create new' filename. I assume it is and have tried but I think perhaps my syntax is wrong.

sip1.Mask = "../assets/camperphotos/(rsAdvertiser.Fields.Item("AdvertiserID".Value)_##name##.jpg"

As far as you are concerned should this be working?

Replied 06 Jan 2008 21:42:57
06 Jan 2008 21:42:57 George Petrov replied:
yes the final code should be:

sip1.Mask = "../assets/camperphotos/" & (rsAdvertiser.Fields.Item("AdvertiserID".Value) & "##name##.jpg"

Greetings,
George

--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFiles.nl
--------------------------------------------------
Replied 07 Jan 2008 09:52:17
07 Jan 2008 09:52:17 Andrew Turner replied:
I tried this but it is not working. I am getting this error - for some reason it is going to me eror page after the submit button is pressed on the image upload page.

Request object error 'ASP 0208 : 80004005'

Cannot use generic Request collection

/error.asp, line 6

Cannot use the generic Request collection after calling BinaryRead.
Replied 07 Jan 2008 16:24:39
07 Jan 2008 16:24:39 George Petrov replied:
well this is something else, see:

www.dmxzone.com/go?1091

George

--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFiles.nl
--------------------------------------------------
Replied 07 Jan 2008 16:46:26
07 Jan 2008 16:46:26 Andrew Turner replied:
I read the entry relating to my problem and then tried putting in the variable having checked all the relevant pages and on none of them do I user the Request.Form command. I am using a session variable to determine the AdvertiserID - would this have the same affect?

The simple fact is that SIP is working perfectly as "../assets/camperphotos/##name##.jpg" but as soon as I change it to "../assets/camperphotos/" & (rsAdvertiser.Fields.Item("AdvertiserID".Value) & "##name##.jpg" I get the error, nothing gets uploaded and no record is inserted into my database.

Where else could I look to resolve the problem as to be able to insert the ID in the filename would change my life!
Replied 26 Mar 2011 08:37:18
26 Mar 2011 08:37:18 Angie OFARRELL replied:
I have a similar error, but I can't get off the ground. I have a simple page that uses PAU 3 and SIP 2.5.5 and the Multi file upload extension. I also have a simple insert into the database. When I post the page, ibuyga.ofarrellgroup.com/intadm_property_add.asp, I get the "no component detected" error. I have spent hours in your forum reading, and I have changed permissions on the directories, loaded the bin folder with dll file in both the site root and wwwroot directories. I have run all the checks from the script library, and ASP.NET seems to be running fine on the server. I have other sites that use an older version of SIP, and they work fine. What am I doing wrong? I'm using Dreamweaver CS4, IIS 6.0, PAU 3.0.17, SIP 2.5.5.
Replied 21 Dec 2022 08:22:29
21 Dec 2022 08:22:29 User  replied:
You can quickly and easily resize multiple images, generate thumbnails, apply image options like crop, flip, rotate, sharpen, and blur, and generate grayscale images with Smart Image Processor ASP 2, the most potent Image Resize, trap the cat Enhancement, and Manipulation extension available from DMXzone.
Replied 09 May 2023 03:18:31
09 May 2023 03:18:31 User  replied:
The travel places you shared are very good and very useful to me trap the cat, I will often visit your articles to gain more knowledge.
Replied 08 Nov 2023 10:46:22
08 Nov 2023 10:46:22 Roger Hamel replied:
For sports enthusiasts and bettors in Canada, http://1win-canada-bet.com has emerged as a top destination. This exciting betting site offers a wide range of betting options and a first-class user experience that you won't want to miss. 1win-canada-bet.com provides a wide array of betting options to cater to your preferences. From sports betting across a variety of popular sports to thrilling casino games and slot machines, there's something for everyone. You can enjoy the thrill of betting on your favorite teams and try your luck at high-quality casino games.
Replied 08 Feb 2024 05:39:50
08 Feb 2024 05:39:50 Robin Pon replied:
When it comes both team to score prediction, my first stop is always xgscore https://xgscore.io/predictions/both-to-score Their analysis of the teams' game stats and form allows them to predict events on the field with high accuracy. More than once they have helped me win bets and I am grateful to them for that.
Replied 01 Mar 2024 09:07:07
01 Mar 2024 09:07:07 User  replied:
You have to slide and combine tiles that have the same album cover in order to build new ones in the game 2048 Taylor Swift
Replied 13 Jun 2024 09:21:11
13 Jun 2024 09:21:11 Robin Pon replied:
The unique salt and pepper engagement rings we found at sevencarat have been a true symbol of our love. We are thrilled with the quality and design. These rings are eye catching and are admired by all who see them. I recommend to anyone looking for something special for their big day.

Reply to this topic