web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

SQL command to change image suffix

(0) ShareShare
ReportReport
Posted on by 20

I am using Newestech's Web Integrator pro wi 2.4 along with Kosmos and I have ran into an image problem.  Based upon previous input from this forum, we save all of our images in HQ using the sku.jpg and then save product images using the skew as jpegs.  We have to problems:

1.  We have thousands of items in our dbase and it is tedious calling up each item and adding the image path.

2.  Some of my employees have saved the image files with a jpg suffix in uppercase.  The Unix server does not recognize these images on our web server and so does not assign them to the products.  This leaves us with a lot of our online products without images.  The did not notice a problem due to the fact that the Windows O.S. doesn't care if the suffix is upper or lower case.

Would it be possible to use SQL command or a script to set the image path of each item to the sku.jpg ?

 Thanks

Bill

Hobby Central

 

*This post is locked for comments

I have the same question (0)
  • alexandre Profile Picture
    200 on at
    Sure! First, for your FileName problem, there is quite a load of BatchRenaming freeware tools on the internet. Just google "Batch renaming to lowercase". Else, if the problem is simply renaming XXXX.JPG to XXXX.jpg(renaming the file extension of all pictures files, you could run this command in the Windows Command Prompt(CMD): ren *.JPG *.jpg. Just make sure you are in the right folder in the command prompt.
  • alexandre Profile Picture
    200 on at
    Second, for your first question, since i dont remember and i dont have access to a RMS system right now, i cannot give a 100% sure answer. If RMS stores the file path for the picture, then you can use a SQL command. You could use something like (i don't remember the field name containing the image path): UPDATE dbo_item.image SET dbo_item.image = "C:\IMAGEPATH\" & [dbo_item.itemlookupcode] & ".jpg";

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans