[TYPO3-dev] Media Column in Database changed

NGUYEN Duc Quan quan at apart.lu
Mon Nov 23 19:10:58 CET 2015


Hi,

I'm quite new to the whole typo3 CMS. But I hope to get more experienced with it. If you could bear and help me out that would be awesome!

I had been given an typo3 v4.7 project which I had to upgrade to v7.6. This has been done successful. There has been a lot of changes in the database and its relations, which is normal when having an upgrade like that.

In the pages table (in v4.7) the media columns had the filename which had been selected in the "Resources" tab under "Files" -> "Media". Now in v7.6 the value of the media column is 0 or 1. I assume that 1 means there has been an media file attached to the page.

My current task/issue is to retrieve the image file associated to the page. As the (direct) reference in not saved anymore in the media column the information has to be somewhere else since in the BE I can see the associated resource (image).

I am updating an extension which reads the image file from the resources of a page in PHP.

Could somehow help me by providing a code snippet or give me a push in the right direction to solve this issue?

Thanks a lot!



More information about the TYPO3-dev mailing list