Message Boards Message Boards

Back

Bulk-replace images?

Threads [ Previous | Next ]
Toggle
Bulk-replace images?
Answer
11/29/24 3:02 PM
HI there,

We are facing an issue where we need to replace every image in a finished course with lower-res / more-compressed versions.

Is there a way to do that in bulk?

The source images are a mix of PNG and JPG.

Many thanks in advance.
0 (0 Votes)

RE: Bulk-replace images?
Answer
11/29/24 3:12 PM as a reply to Leon R.
P.S. I'm aware there is a setting to apply additional image compression when generating the publishable HTML. I have tested that and unfortunately it is not compressing the images enough for our immediate needs.
0 (0 Votes)

RE: Bulk-replace images?
Answer
12/1/24 10:11 PM as a reply to Leon R.
Hi Leon,
I'm glad you mentioned the Image Compression option in Edit > Lesson Settings, because I was definitely going to suggest that first.

No, there is not a way to bulk replace the images in your sb/sb4 file - you will have to do that manually.

In the published output, all of the image files are in the assets folder. So you could run a quick batch process using Photoshop or some other photo editor on all the files in that folder and replace them that way. As long as they have the same name/extension, you can swap those images out and the lesson won't know the difference. Then just re-zip the package and upload to the LMS (or however you're deploying the lesson).

Hope that helps! Let me know if anything is unclear.

- Nav
0 (0 Votes)

RE: Bulk-replace images?
Answer
12/2/24 9:07 AM as a reply to Navdeep Dhillon.
Hi,

Thank you. We did already use that option as a quick-fix, but our client now needs us to fix it in the source file.

This particular course has both desktop and phone layouts, so many images require two versions (optimised for each layout) and I've now realised that when I swap an image in the editor, the old image still exists in the alternate layout. I then right-click the image and select "Synchronise" with the other layout, which removes the old image, but also resets the x/y coordinates too, so I then need to switch to the alternative layout and check the images are still not visible in that layout.
In summary, this is a painfully laborious process.

FYI I have experience with Lectora in which image swaps can be done from a centralised menu, so this job would be a lot easier in Lectora. I’m only mentioning this to point out that other competing tools have addressed this issue.
0 (0 Votes)

RE: Bulk-replace images?
Answer
12/2/24 5:26 PM as a reply to Leon R.
Hi Leon,
Make sense - we haven't had many requests for bulk swapping in SmartBuilder so we haven't invested in that feature. I'll add it to our enhancement list, though!

Personally, I would NOT use the synchronize feature because it does sync X and Y and size. I would make a pass through your lesson in each layout and manually replace the images. But I'm also not sure how many lessons / images you have. Let me know the rough scale of your task (and how much more you have to do), and we can see if there's some other workarounds that we can suggest.

Hope that helps!
0 (0 Votes)

RE: Bulk-replace images?
Answer
12/2/24 5:38 PM as a reply to Leon R.
Hi Leon,
If you still have a lot of these to do, please email us one of your source files, or upload it here.

We'll take a look and see if there's an easier way to accomplish this.

- Nav
0 (0 Votes)