Page 1 of 1

Images broken after upgrade

Posted: Mon Sep 22, 2014 4:31 am
by Anil Sagar

Hi, before Sep upgrade images used to look like this:

Image

This links explains how my app works:

http://gsfn.us/t/4kuae

Now they are broken and are appearing like below.

Image


Images broken after upgrade

Posted: Mon Sep 22, 2014 4:43 am
by Illya Stepanov

Hi Anil,

Have you inspected image component in browser dev.tools? Could you please show us the result screenshot?


Images broken after upgrade

Posted: Mon Sep 22, 2014 5:26 am
by Anil Sagar

console says:

. Image

Image

I can see logo-A.png in the media manager though


Images broken after upgrade

Posted: Mon Sep 22, 2014 11:30 am
by Maryna Brodina

Hello!

I was trying to access your app using this link http://appery.io/app/mobile-frame?src..., but it didn't work.

Could you clarify what link should we use to reproduce the problem?


Images broken after upgrade

Posted: Mon Sep 22, 2014 3:11 pm
by Anil Sagar

The process for reproducing the error is:

  1. Please access the web app on http://appery.io/app/view/177c5783-d9...

  2. First screen will ask you to sign in using facebook. Pls go ahead and sign-in using your FB login details.

  3. Since you will be using the app for the first time, app will ask you to enter a valid mobile no. Pls use 9123456789 and press "check" button.

  4. App will now ask for an OTP. Pls type "start" without inverted commas and press "Register" button. .

  5. On the next "Home" screen, you will see dummy data containing your details, your offers and your notifications. Click on one of the offers.

  6. This will take you to next "offers" screen. Here you will see broken images.

    When you login next time using the same FB login details, you will straight goto "Home" screen


Images broken after upgrade

Posted: Mon Sep 22, 2014 6:27 pm
by Kateryna Grynko

Hi Anil,

This page is displayed properly for us. Could you please try clearing cache?


Images broken after upgrade

Posted: Tue Sep 23, 2014 2:31 am
by Anil Sagar

Same issue even after clearing cache. It's an issue on the server side. See the console error below. In fact I have checked it on iphone and ipad as well along with my PC. All giving same problem of broken images.

Image


Images broken after upgrade

Posted: Tue Sep 23, 2014 3:38 am
by Yurii Orishchuk

Hi Anil,

It's probably JS for mapping link has been broken when app migrate to new builder.

Here is solution to fix this problem:

1 Open page "Offers_Prepaid" in "data" mode.

2 Open "read" service "success" mapping.

3 Find link from "image" response parameter to "offer_image" image component.

4 Click "JS" and populate JS editor with following code:

pre

return Appery.getImagePath(value);

/pre

That's all.

Regards.


Images broken after upgrade

Posted: Tue Sep 23, 2014 3:48 am
by Anil Sagar

Thanks Yurii. I always save my time with your solutions.