Images deleted from DVL

I created an app using thunkable, it now available on an app store … but unfortunately images that uploaded by the block of thunkable is been removed from the data viewer list and also from the screen coded with “get value from” after almost one week … although the link is still on the database.

I tested it in an app on thunkable live test … it is also doing the same.

What could be the reason??

Did you change the database? Did you add or remove any columns or rename columns?

Nothing was changed … the old app is on a sheet and the new is on a different… both did the same.

I’m not sure what you mean by the “old” and “new”. It’s possible you have to re-sync your data source. That will probably fix the issue but I would make a backup copy of your project first because it can mess up data source related blocks.

I mean there is tow projects with tow different spreadsheets… both has the same issue

Hi @mobinovaappslym
Could you please share the Image URLs that you see on the database?

Hi @ioannis

file:///data/user/0/com.thunkable.live/cache/ImagePicker/e14e12bc-af36-4a29-a7d6-ae83dbc54f6f.jpeg

Those are not publicly accessible images urls. If you can’t open it in an Incognito window, then no one else can see it.

I uploaded to the sheet with blocks " when button click → set image to → upload from device "

And stored all row data with cloud variable

So the idea is to have the user upload images from their device and display them in a DVL?

Can you post a screenshot of the blocks you’re using to generate the photo urls?

Here is the blocks … the image disappeared not only on DVL but also on the navigated screen ( with get value from the database ) after limited time … i also worry about uploading pdf files if it could disappear after limited time??

(attachments)

Try this:

1 Like

Do you mean i have to use an app variable instead of cloud variable?
In case of this … Will image appear for others all the time?

I’m using Google sheets… is there a difference?

The last thing, what if i need to upload more than one picture and pdf links to the same row on the same submission to show them on the other screen when DVL item clicked??

No, the use of an app variable does not mean that others will be able to view each user’s images. This app variable used used to upload the images to a local database which acts like a cloud variable in the form of a table. If you upload more than one picture, then the DVL will cream 2 separate rows for each individual image.
Assuming you don’t want other users to gain access to each account’s data, then you can use a Local DB as opposed to Google Sheets. Acts exactly like a tabular cloud variable and does not share your information out of your device.

I don’t set the dvl to the urers data … it is for cultural topics … the list containing the title and and iconic picture … when it clicked navigates to the completely topic on the other screen that contains pic and title and the topic

So … i want to set all of these to be available to all users all times when dvl button click.

Notice that m using Google sheets

Try checking your Google Sheets again to ensure that all added data is still there.

Checked and its still there

Could you share the code for how you’ve synced your Google Sheets to the DVL or how you’re displaying your DVL?