Deadwood-ai / deadwood-api

Main FastAPI application for the deadwood backend
GNU General Public License v3.0
0 stars 0 forks source link

base64 encodes strings of build-thumbnails are corrupted. #35

Closed JesJehle closed 2 months ago

JesJehle commented 3 months ago

Unfortunately, i cannot input the base64 string in the src? tag of the image. There is some problems with: imgSrc = f"data:image/jpeg;base64,{base64.b64encode(thumbnail_target_path.read_bytes()).hex()}"

Since, this was a quick fix solution, any way, I think we need to store the thumbnails with some other storage provider. Why not Firebase? I will implement this as soon as I am back from holiday.

cmosig commented 3 months ago

Stupid question, but why not have thumbnails locally on the storage server instead of using yet another cloud provider?

JesJehle commented 3 months ago

Not at all stupid, @mmaelicke, we would just have to add the folder with the thumbnails to the file server. Why did we think that was a bad idea?

mmaelicke commented 3 months ago

I originally suggested to put them into a folder on the storage-server, but the thumbnails had to be implemented on the same day. That was not possible. The base64 string were a quick-&-dirty-because-we-need-it-today solution.

mmaelicke commented 3 months ago

The base64 was for some reason hex-digested. That does not work. I just changed to decode it into UTF-8 so that a browser can actually read it. It is on the main branch and will be active with the next version (0.6.7).

Then the thumbnails work again (ie for the upload). I you want me to save the thumbnails into a folder, we basically just need to mount a new location into the container as your thumbnail code uses a temporary save of the thumbnail anyway, right?

mmaelicke commented 3 months ago

Here is an example, produced by the new code.

<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAEAAQADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcY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D7SfCthHDE01xcKxdp3kZdxP+yDgccVzPif4c6j4x8ex3WpSyQaJBFsTy7gSM5zk4UgeXkcE/NyBXqdFKw7LY8+j+C/g1YVSS0uZnDZ817hg30+XA/SsyP4ULpjX1ta2Ol6rZXUqyxf2i7pJbAfwhlBLZ9cj3zXqlFOwcqOV0LwXpGkakb2LQrK2uDCqb4WLKvXgBhweeW74FdPFEkEYSNQqjJwPfmn0UDsFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQB//9k=" />
mmaelicke commented 3 months ago

I'll close this issue as the problem is solved. @cmosig, @JesJehle please open again if it is not solved for you.

If you want to change the way how thumbnails are stored, we can open a new issue for that

JesJehle commented 2 months ago

I am still unable to load the thumbnails, but I am not sure if the new version has been deployed yet.

mmaelicke commented 2 months ago

The live version is 0.6.6. These changes will only be active with version 0.6.7, which is not released before the changes made to the local deployment are migrated or reversed. Otherwise the two branches will be out of sync.

I can't remember if the changes are also added to the local deployment branch. I think so, but I am not sure. I can check that after my vacation.

JesJehle commented 2 months ago

As currently implemented. All thumbnails are stored in a folder called thumbails next to archive and cogs. If the folder could be mounted on the filesserver, I could get them directly from the frontend. So even if the base64 strings in the database turn out to be a bad idea, which they probably will, we would still have all the thumbnails served in a much better way. @mmaelicke could you do that after your holiday? :)