Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Is it possible to store and access "hidden" images inside a PowerPoint .potm file?

Posted on 2014-02-18
4
310 Views
Last Modified: 2014-02-19
As we know, starting with 2007, MS Office applications save files in an format that is actually group of xml and other files inside a zip package.  I have experience cracking these open and seeing what's inside them.

Building a corporate template (.potx), and I can see where background images and other graphics are stored inside the ppt\media\ folder of the zip package.

My template includes a bunch of layouts with background images.  I'd like my user to be able to use macro buttons to swap in different background images matching an alternate theme.  I know how to do that with the image files living in a folder on the network or the computer.  But it would be cool if those images could be contained inside the template file so they all travel together.

So:  Is there a way to store image files INSIDE a .potx without having them appear in visible slides or layouts?   How can I then address and manipulate those image files inside the .potx using VBA?

Thanks.
0
Comment
Question by:versatilebb
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
JSRWilson earned 500 total points
ID: 39870997
Probably technically possible. You would probably need to rename the potx with code to .zip, unzip and extract the image with vba. For me not worth it.

We have created files with a custom layout that isn't used and with images set to visible= false. Easy to copy paste and set to visible with code.
0
 

Author Comment

by:versatilebb
ID: 39871242
I agree it would be easier to store these images with image visibility set to false.  I've used that technique before.

Please tell me more about  "...files with a custom layout that isn't used..."  Is there a way to tag a layout as hidden so it does not show up in the NewSlide dropdown gallery?
0
 
LVL 23

Expert Comment

by:JSRWilson
ID: 39871656
Unfortunately there isn't. I was just suggesting creating one that wasn't normally used. Though even if it is the images will not show in normal view
0
 
LVL 24

Expert Comment

by:Echo_S
ID: 39872431
You know, the two vertical layouts won't show in the New Slide gallery unless you have certain languages (right-to-left? vertical top-to-bottom?) installed or enabled or some such. (Obviously I'm fuzzy on the details right now.)

So if your users won't have, for example, Japanese installed then those layouts might be a good place to dump invisible holding shapes and images.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My experience with Windows 10 over a one year period and suggestions for smooth operation
PowerPoint is the go-to presentation software for millions of users around the world. Many presentations use basic text features but you can really make special text jump out of your slide by applying this bubble text design process. This article ha…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question