Title: Edge Commons Spotlight problem
Last modified: August 21, 2016

---

# Edge Commons Spotlight problem

 *  Resolved [digdug](https://wordpress.org/support/users/digdug/)
 * (@digdug)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/)
 * Hey Tim-
 * I’m trying to use the Spotlight feature of Edge Commons, but the “spotlighted”
   images aren’t showing because the image path is incorrect. I’ve followed all 
   the FAQ steps and I’m using the dev build.
 * **working path –** [http://doug-harper.com/wp-content/uploads/edge_suite/project/custommap_1/images/LuvYurMutt.png](http://doug-harper.com/wp-content/uploads/edge_suite/project/custommap_1/images/LuvYurMutt.png)
 * **not working path –** [http://doug-harper.com/custom-map-in-edge-animate/images/tipton.png](http://doug-harper.com/custom-map-in-edge-animate/images/tipton.png)
   this is where my composition is located.
 * heres the post – [http://doug-harper.com/custom-map-in-edge-animate/](http://doug-harper.com/custom-map-in-edge-animate/)
 * [https://wordpress.org/plugins/edge-suite/](https://wordpress.org/plugins/edge-suite/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [ti2m](https://wordpress.org/support/users/ti2m/)
 * (@ti2m)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/#post-4636254)
 * Hi,
 * try to use the following snippet below in you JS to load the project path (in
   your case /wp-content/uploads/edge_suite/project/custommap_1/) into ‘path_prefix’.
   You then need to add the path prefix to all your images, like path_prefix + ‘
   images/LuvYurMutt.png’
 *     ```
       var path_prefix = '';
         if (AdobeEdge && AdobeEdge.pathPrefix && AdobeEdge.pathPrefix.comps && AdobeEdge.pathPrefix.comps[compId]) {
           path_prefix = AdobeEdge.pathPrefix.comps[compId] + '/';
         }
       ```
   
 * Hope that works, didn’t test spotlight before, should definitely take a closer
   look, just don’t have the time at the moment, sorry…
 *  Thread Starter [digdug](https://wordpress.org/support/users/digdug/)
 * (@digdug)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/#post-4636293)
 * Ok that got me close.
 * [http://doug-harper.com/](http://doug-harper.com/)**custom-map-in-edge-animate**/
   wp-content/uploads/edge_suite/project/custommap_1/images/tipton.png
 * If I can drop the bold, I should be good. That’s the name of my post btw.
 *  Plugin Author [ti2m](https://wordpress.org/support/users/ti2m/)
 * (@ti2m)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/#post-4636302)
 * Not sure what you have tried, by looking at your page source, you have AdobeEdge.
   pathPrefix.comps[‘EDGE-86281901’] = ‘[http://doug-harper.com/wp-content/uploads/edge_suite/project/custommap2_2&#8217](http://doug-harper.com/wp-content/uploads/edge_suite/project/custommap2_2&#8217);
   in there, so the above snippet should load ‘[http://doug-harper.com/wp-content/uploads/edge_suite/project/custommap2_2&#8217](http://doug-harper.com/wp-content/uploads/edge_suite/project/custommap2_2&#8217);
   into the variable path_prefix, not sure where ‘custom-map-in-edge-animate’ is
   coming from.
 *  Thread Starter [digdug](https://wordpress.org/support/users/digdug/)
 * (@digdug)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/#post-4636306)
 * ‘custom-map-in-edge-animate’ is my post title/url
 * i added the snippet to creation complete, then changed the image path in my click
   event (only for the bottom heart). Then published it to a new OAM.
 *  Plugin Author [ti2m](https://wordpress.org/support/users/ti2m/)
 * (@ti2m)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/#post-4636310)
 * Ok, I still don’t get how ‘custom-map-in-edge-animate’ comes up in your image
   path as it isn’t contained in the path_prefix variable and I don’t assume you
   add it manually.
 *  Plugin Author [ti2m](https://wordpress.org/support/users/ti2m/)
 * (@ti2m)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/#post-4636486)
 * Looks like you got it working on your site, can I close the issue?
 *  Thread Starter [digdug](https://wordpress.org/support/users/digdug/)
 * (@digdug)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/#post-4636487)
 * yes close it.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Edge Commons Spotlight problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/edge-suite.svg)
 * [Edge Suite](https://wordpress.org/plugins/edge-suite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/edge-suite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/edge-suite/)
 * [Active Topics](https://wordpress.org/support/plugin/edge-suite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/edge-suite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/edge-suite/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [digdug](https://wordpress.org/support/users/digdug/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/edge-commons-spotlight-problem/#post-4636487)
 * Status: resolved